Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
c# loops, printing number patterns
Mohith Kovela
7y
314
1
Reply
program should print
1
2 1
3 3 1
4 6 4 1
and then should ask for input from user and then it should print the sum of the elements in that row
if we enter 1
then it should return 1
if we enter 2
then it should return 2+1 i.e. 3
for 3
3+3+1 i.e. 9..
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to run .Net application on linux ?
someone please write c# code for the given logic