Print 1 to n numbers without using semicolon anywhere in the program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Print 1 to n numbers without using semicolon anywhere in the program

code only in c c++ or in java only

24th Mar 2018, 11:38 AM
Bhargav Vummadi
3 Answers
+ 3
// User shall provide N as input. https://code.sololearn.com/c0XWR9N7QO15/?ref=app
24th Mar 2018, 1:26 PM
Adam Aksu
Adam Aksu - avatar
+ 1
U want to print 1 to n where n is the input give by user not from 1 to 10
24th Mar 2018, 12:00 PM
Bhargav Vummadi
+ 1
Great work Adam Aksu
24th Mar 2018, 1:13 PM
Bhargav Vummadi