0

how the outputs includes 1 while in the code x+1?

27th Sep 2016, 4:30 PM
Retag Tarek
Retag Tarek - avatar
4 ответов
+ 1
Post the code if you want to talk about it.
27th Sep 2016, 4:38 PM
Zen
Zen - avatar
0
int num=1 while (num<6) { cout << "number" << num <<endl; num=num+1 ; } it maybe seems easy but i am just a beginner
27th Sep 2016, 4:41 PM
Retag Tarek
Retag Tarek - avatar
0
because you write num=1 in the beginning ( sorry for grammatical errors I'm not English)
27th Sep 2016, 4:46 PM
daniele
daniele - avatar
0
thanks and no probleeem dude 😃
27th Sep 2016, 4:58 PM
Retag Tarek
Retag Tarek - avatar