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 pair shows equivalent expressions?
What is equivalent to (x+y+2) (y+1)
If a tree grows “a” inches each year, and the total height of a tree is f(n), where n is the number of years, write an equation for f(n)
I need help getting started in return I will help with Spanish
What's the complete factored form.5b^2(p-7)+7(p-7)​
Help me on this one NOW
the table shows pattern p and patterns q complete the table
At a local gym, 10 of the 40 trainers currently have CPR certification. Next year, the gym plans to have 46 trainers, and the owner wants the percentage of trai
A claim of answers the questions of who has created or caused a situation.
Solve - 3/5 x + 1/5 > 7/20