C++ COURSE
C++ While Loop
Learn C++ programming with EDUHUB Code Hub.
C++ While Loop
A while loop repeats code while a condition is true.
int i=1;
while(i<=5){
cout << i;
i++;
}
12345