What is the code for this? Can you explain how that code execute this output? How do you write its flowchart? THANKS A LOT!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is the code for this? Can you explain how that code execute this output? How do you write its flowchart? THANKS A LOT!!

Output is 1 12 123 1234 12345 123456 1234567 12345678 123456789 12345678910

2nd Oct 2019, 6:38 AM
Beginner_Programmer
Beginner_Programmer - avatar
6 Answers
+ 3
Beginner_Programmer Thing is, many people come to Sololearn expecting others to do their homework without posting their own attempts
2nd Oct 2019, 11:10 AM
Trigger
Trigger - avatar
0
for (int i=1; i<=10; i++) { for (int j=1; j<=i; j++) { Console.Write(j); } Console.WriteLine(); } Please show us your attempt next time. Don't let me catch you trying to get us to do your homework again. I got my eye on you
2nd Oct 2019, 7:18 AM
Trigger
Trigger - avatar
0
?????????
2nd Oct 2019, 10:35 AM
Beginner_Programmer
Beginner_Programmer - avatar
0
anyway thank you for your help
2nd Oct 2019, 11:24 AM
Beginner_Programmer
Beginner_Programmer - avatar
0
Beginner_Programmer That's good then😌 Sorry that I seem heartless, this is just something I see daily😅
2nd Oct 2019, 11:31 AM
Trigger
Trigger - avatar
0
it's ok im sorry too. thanks for help. by the way i understand how codes work but my problem is the LOGIC or CONDITION itself that has to be done. (i cannot understand how does the output became like that with a code like this) so yeah logic is my weakness
2nd Oct 2019, 11:40 AM
Beginner_Programmer
Beginner_Programmer - avatar