0

How to make program, whose print numbers by 1 for 200?

19th Jan 2020, 7:34 AM
Danila Evdokimov
Danila Evdokimov - avatar
15 Antworten
+ 6
Please specify relevant language in your tags 👍
19th Jan 2020, 7:41 AM
Ipang
+ 4
Jan Markus Thanks for informing, but they shouldn't be expecting thread readers to go and check the OP's profile just to know this information. When they take multiple courses, checking their profile wouldn't help to clear the doubt. And just to be clear, tagging the language helps make the search function better 👍
19th Jan 2020, 7:57 AM
Ipang
+ 4
#J A V A IntStream.range(1,201).forEach(System.out::print);
19th Jan 2020, 10:19 AM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 2
For i in range(1,201): print(i)
20th Jan 2020, 8:09 AM
Pravesh Maurya
Pravesh Maurya - avatar
+ 1
for i in range(1,201): print(i)
19th Jan 2020, 7:44 AM
Sousou
Sousou - avatar
+ 1
for i in range(1,201) : print(i)
20th Jan 2020, 9:57 PM
Oluwaseun Familusi
Oluwaseun Familusi - avatar
+ 1
#include <iostream> usinng namespace std; int main (){ for(int i=1;i <=200;i++){ cout <<i <<endl; } return 0; } GOOD LUCK !!!
20th Jan 2020, 10:51 PM
Kaneki Ken
Kaneki Ken - avatar
+ 1
Jan Markus Is there a problem with anything I wrote here? or am I the problem perhaps? * Quoting your reply: "I am afraid that you can no longer write anything here without first consulting your lawyer ..." Wow! you are telling me what to do in SoloLearn sir? FYI I will not stop reminding people not to abuse tags, just because someone tell me "consult your lawyer" You want to lay down the details what happens if I don't consult my lawyer, sir? you gonna sue me? (Edit) And please inform this fool me what "know-it-all" was all about.
21st Jan 2020, 9:47 AM
Ipang
0
Jan Markus thx for noticing it
19th Jan 2020, 7:49 AM
Sousou
Sousou - avatar
0
for( int i=1; i<=200; i++) { System.out.print( i) }
20th Jan 2020, 2:04 AM
Amit
Amit - avatar
0
print number 1 to 200 int i = 1; int num =200; do{ System.out.println (i) ; i++; } while (i<=num) ;
20th Jan 2020, 11:46 AM
Vikram Singh
Vikram Singh - avatar
0
for i in range(200): print (i+1) works for python
20th Jan 2020, 11:00 PM
LEO OJIGBO
LEO OJIGBO - avatar
0
In c programming #include<stdio.h> int main() { int i=0; for(i=1;i<=200;i++) printf("%d",i); }
21st Jan 2020, 3:33 AM
Akash Singh
0
#include <iostream> using namespace std; int main() { for(int i = 0; i<=201; i++) { cout <<i <<endl; } return 0; }
21st Jan 2020, 4:56 AM
Bilguun
Bilguun - avatar
0
If you want it for c: for( i=1; i<=200; i++) { printf("%d\n", i) } If you want it for python: for i in range(1,201): print(i)
21st Jan 2020, 7:40 AM
Vani Agarwal