While loop | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

While loop

What is the code of this output? Output: 2 3 4 6 7 The smallest value is 2

20th Nov 2020, 2:47 PM
Unknown
3 Answers
+ 3
Cel please post attempt first
20th Nov 2020, 3:10 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
0
#include <iostream> using namespace std; int main() { int i, num; smallest; while (i <=5){ } return 0; } Ananiya Jemberu i don’t know lmao
20th Nov 2020, 3:33 PM
Unknown