0
Can someone tell me how to make a sentence copy itself 46 times in c++? But in a small program
6 Antworten
+ 5
What did you mean by "copy itself"? did you mean to print some sentence multiple times? cause you can use any loop for that ...
+ 4
you can use for loop or while loop or do while loop.
+ 4
Use loop for repeating any task again and again like this
for(int a=0;a<46; a++)
cout<<"this is for trial";
You can use while and do while also.
+ 2
Thanks for the help
+ 1
Yes to make a sentence loop itself 46 times