How to check numbers are in non decreasing order using while loop | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to check numbers are in non decreasing order using while loop

10th Sep 2019, 10:41 AM
ZIA REHMAN
2 Answers
+ 2
and just change the number in the "while" loop to your number. int i; i = 1; while( i <= 10 ) { cout<<i; i++ }
10th Sep 2019, 11:03 AM
KfirWe
KfirWe - avatar
+ 1
by the way i am just a little girl
11th Sep 2019, 9:47 AM
Nsubuga