0
Loops
Can someone help me with loops please
5 odpowiedzi
+ 23
example:
for(int i=1; i<=100; i++){
cout<<"Hello!"<<endl;
}
+ 2
loops help us.
they run same code multiple times.
suppose u want to print hello in 100 lines.
u cant do it manually.
so we use loops
+ 1
Have you realised that
X+=1, x= ++x , and x =x+1 are the same!?
0
can u show meh an example
0
If (a==2626){
cout << "correct!";
}