0

Print 1 to n

1 2 3 4.....n

23rd Jul 2018, 8:45 AM
vinayaka arkasali
vinayaka arkasali - avatar
3 Answers
+ 2
Hi, Language??? Javascript: for(var i = 1; i <= n; i++) console.log(i) C# for(int i = 1; i <= n; i++) Console.WriteLine(i) . . . Hope it helps you
23rd Jul 2018, 8:56 AM
Guillem Padilla
Guillem Padilla - avatar
+ 1
tq
23rd Jul 2018, 9:05 AM
vinayaka arkasali
vinayaka arkasali - avatar
0
Hello! This isn't strictly a programming related question. Please move this to your posts. And have a look at these: https://www.sololearn.com/discuss/1316935/?ref=app
23rd Jul 2018, 9:10 AM
Paul Grasser
Paul Grasser - avatar