How do i make an arrow of stars with the numbers behind the stars? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How do i make an arrow of stars with the numbers behind the stars?

I have made a code that puts the numbers from 1 to X(the number the user puts in textbox txtInput). it works as follows when I click the button for(int i=0; i <= limiet; i++) { txtOutput.Text += i + Enviroment.NewLine; } but after that I try to add another loop inside that one but it never wants to work I try to get if user inputs 7 a textbox (txtOutput) to show (or messagebox is also good) 1 * 2 ** 3 *** 4 **** 5 *** 6 ** 7 *

24th Oct 2017, 7:41 AM
Dark “Inferno” GXK
Dark “Inferno” GXK - avatar
1 Antwort
+ 5
sorry i'm learning c++.so i wrote in that language but u can understand the logic behind it..... hoping u like https://code.sololearn.com/cDjAZKp5aw19/?ref=app
24th Oct 2017, 8:24 AM
SAKSHI
SAKSHI - avatar