0

Enyone tell me how to print 1to10numbers using for loop

19th Apr 2019, 3:27 PM
Swathi Thiyagu
Swathi Thiyagu - avatar
7 Answers
+ 1
Not in the long run. Because if you let us do all your homework you won't learn anything.
19th Apr 2019, 4:35 PM
HonFu
HonFu - avatar
+ 1
Swathi Thiyagu try to make lot of efforts first, and think of, how can you tell someone to walk a stair case right to the 10th place, and learn how to use the for loop itself
19th Apr 2019, 4:41 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
You can print the numbers with loop. You can see it in the example. Hope it helps you. https://code.sololearn.com/c4moZ2N04ddw/?ref=app
19th Apr 2019, 3:56 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
You didn't specify in which language. However, here's your code in C++ for (int x = 1; x <= 10; x++) { cout<<"The value is: "<<x<<endl; }
19th Apr 2019, 3:58 PM
Geralt Of Rivia
Geralt Of Rivia - avatar
0
Thank u its realy helpfull for me
19th Apr 2019, 4:08 PM
Swathi Thiyagu
Swathi Thiyagu - avatar
0
Ok cool
19th Apr 2019, 4:43 PM
Swathi Thiyagu
Swathi Thiyagu - avatar
0
Swathi Thiyagu, you are welcome 😉
19th Apr 2019, 5:20 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar