how to make this shape in c#?
111111111
3333333
55555
777
9
yunis.nabil
0
Newbie Poster
Recommended Answers
Jump to PostBy using nested for loops.
Something tells me you are asking for homework code...
Do you have any code where you have tried this on your own?
Jump to PostThink about it this way.
You need a total of 5 lines.
Each line's printed value is n+2 from last value.
Each line's length is decreased by 2 each iteration.Have you learned to flowchart yet?
All 7 Replies
Begginnerdev
256
Junior Poster
yunis.nabil
0
Newbie Poster
Begginnerdev
256
Junior Poster
yunis.nabil
0
Newbie Poster
Begginnerdev
256
Junior Poster
yunis.nabil
0
Newbie Poster
Begginnerdev
256
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.