Asked by Leon
The user wants to display a message a fixed number of times, if you know the message and the number of times (number) it must be displayed what would be the for statement, will this be correct or incorrect ONLY indicate correct or incorrect at your answer space.
for i = 1 to numbe
rdisplay message ~ on new line
next i
for i = 1 to numbe
rdisplay message ~ on new line
next i
Answers
Answered by
Noman
for(int i = 0; i<number; i++){
cout<<"on nre line next "<<i;
}
cout<<"on nre line next "<<i;
}
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.