0
can i know how to print a message 10 times bt using for loop ?
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;
}
0
Rayhana Junaidi Use for loop.
0
i still got an error idk how to fix it