+ 1

How to write from1 to 100 in C++?

26th Nov 2017, 1:51 PM
Nicat Bayramli
Nicat Bayramli - avatar
2 Answers
+ 9
for(int j=1;j<=100;j++) { cout<<j<<endl; }
26th Nov 2017, 1:55 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 3
thanks
26th Nov 2017, 1:56 PM
Nicat Bayramli
Nicat Bayramli - avatar