0

can i know how to print a message 10 times bt using for loop ?

8th Dec 2020, 3:53 PM
Rayhana Junaidi
Rayhana Junaidi - avatar
3 Respostas
+ 5
Rayhana Junaidi #include <iostream> using namespace std; int main() { int i; for(i=0;i<10;i++){ cout << "Hello world"<<endl; } return 0; }
8th Dec 2020, 4:12 PM
TOLUENE
TOLUENE - avatar
0
Rayhana Junaidi Use for loop.
8th Dec 2020, 3:53 PM
A͢J
A͢J - avatar
0
i still got an error idk how to fix it
8th Dec 2020, 3:55 PM
Rayhana Junaidi
Rayhana Junaidi - avatar