+ 3

How to write 23 number.

23 different number

4th Apr 2017, 3:45 PM
lzjoe
lzjoe - avatar
13 odpowiedzi
+ 14
print (23);
4th Apr 2017, 3:56 PM
Kamil
Kamil - avatar
+ 14
for (int i = 1; i <= 23; i++) { cout << i << endl; }
4th Apr 2017, 4:01 PM
Hatsy Rei
Hatsy Rei - avatar
+ 11
var i=0; while(i<23) { console.log(i); i++; } it will print from 0 to 22
4th Apr 2017, 4:07 PM
Ronit Kumar
Ronit Kumar - avatar
+ 10
use random() function instead of console.log()... not a big deal @edward
4th Apr 2017, 4:13 PM
Ronit Kumar
Ronit Kumar - avatar
+ 8
oops... typo.. @edward
4th Apr 2017, 4:09 PM
Ronit Kumar
Ronit Kumar - avatar
+ 7
42 is every answer. So print 42 first
4th Apr 2017, 4:03 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 7
@lzioe 23 different which is Random no repeat? or something? Or just I must teach you how to write from 0 to 23 on the paper?
5th Apr 2017, 2:32 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 3
// c++ for (int i=0;i <=23;i++){ cout <<" "<<i; }
14th Apr 2017, 2:04 AM
Jonathan
Jonathan - avatar
+ 2
what language?
4th Apr 2017, 3:54 PM
Edward
+ 2
ah ok. but its cause the guy was not clear. i dont know if he meant 23 random number. or 23 different numbers inputed by the user
4th Apr 2017, 4:10 PM
Edward
+ 1
int x[23]; for(i=0;i<23;i++) cin>>x[i] cout<<"\n the 23nums is :"; for(i=0;i<23;i++) cout<<x[i]
4th Jul 2017, 9:54 AM
Zahraa J Abed
Zahraa J Abed - avatar
0
no it wont @tony. it will be an infinite loop of 23's
4th Apr 2017, 4:08 PM
Edward
0
its 23 different number
5th Apr 2017, 2:31 AM
lzjoe
lzjoe - avatar