Use for loop to print a triangle like the one below. Use negative numbers for the values of the loop not the character?using C#? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Use for loop to print a triangle like the one below. Use negative numbers for the values of the loop not the character?using C#?

Sample Output: -1 -1 -2 -1 -2 -3 -1 -2 -3 -4 -1 -2 -3 -4 -5

7th Jan 2021, 1:15 PM
Jumong
Jumong - avatar
2 Answers
+ 3
Jumong , before we are going to help you, please present your attempt here. if you haven't done a try by yourself so far, please do so, and post it here. please also provide a proper task description with sample of input and output. thanks!
7th Jan 2021, 3:31 PM
Lothar
Lothar - avatar
+ 2
Your question is incomplete. And also don't forget to add your attempt while competing it.
7th Jan 2021, 1:18 PM
Arsenic
Arsenic - avatar