spookymod3351 spookymod3351
  • 03-10-2019
  • Computers and Technology
contestada

Which is not a C repetition statement?

a) while

b) do…while

c) for

d) do…for

Respuesta :

tanoli
tanoli tanoli
  • 08-10-2019

Answer:

d) do..for

Explanation:

In C there are 3 types of loops.

1) For Loop

for(int i=0; i<10; i++){

   cout<<i;

}

2) While Loop

int i=0;

while(i<10){

   cout << i;

   i++;

}

3) Do While Loop

int i=0;

do {

   cout<< i;

  i++;

} while(i<10);

Answer Link

Otras preguntas

Which of the following is most likely pseudoscience? A. A salesman describes how sickness is caused when your body’s energy is not flowing properly and his wri
This question gets me confused everytime when I see this. It's called " Signs of Expressions challenge".need help!!​
Quand tu étais petit, le matin tu _______ à l'école et après tu _______ un film. étais, voyais est allé, a vu
Question4..........................
Solve 5(x + 1) = 5(x + 5) − 15 .
What does p equal? P+2/p+7=3/6
Help me plz cant work it out
URGENT! Find the value of x.
I have a question and no one has helped me yet so I'm re-submitting it. thanks in advance. ​
Two dogs, Rufus and Daisy, are eating dinner. The amount of food (measured in grams) and Rufus's bowl after t minutes is R(t) = 450-150t, and the amount of food