Plz chech the code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
5th Jul 2017, 1:19 AM
Varun Chaaras
Varun Chaaras - avatar
2 Answers
+ 2
thx
5th Jul 2017, 1:33 AM
Varun Chaaras
Varun Chaaras - avatar
+ 1
#include <iostream> using namespace std; int main() { int b; // int=b is wrong cin>>b; while (b < 6) { cout << "Number: " << b << endl; b = b + 1; } return b; }
5th Jul 2017, 1:32 AM
Boris Batinkov
Boris Batinkov - avatar