0
Please help me to answer the coding problem I already answered but not sure if it is right or wrong
Write a counter-control program using while statement that will stop once the repetition reach ten times of looping. Hint: Assign the variable to 1 and the condition in looping statement less or equal than 10. The coding #include <iostream> using namespace std; int main () { int n=1; while (n<=10) { cout << " EXERCISE NO.4 " << endl; n++; } return 0; }
2 Réponses
+ 2
mamoun hydr the program looks fine.
Do you have any other questions?
If not then I would ask you to delete this post because it does not remain a question and qualifies to be mfd for self-answer.
+ 1
Please share your code so that we can help you :)