Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
c# loops, printing number patterns
Mohith Kovela
Dec 16 2016 10:01 AM
298
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..
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to run .Net application on linux ?
someone please write c# code for the given logic