Question: Hello, so I have that program that give me a solution like that : 1 1 2 1 2 3 I have to make a
Hello, so I have that program that give me a solution like that :
1
1 2
1 2 3
I have to make a program that makes the opposite :
1 2 3
1 2
1
*/ int nombre; Console.Write("Donnez-moi votre nombre : "); nombre = int.Parse(Console.ReadLine()); for (int i = 1; i <= nombre; i++) { for (int j = 1; j <= i; j++) { Console.Write("{0} ",j); } Console.Write(" "); }
What do I need to change in this program?
thank u!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
