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 regions border the gulf of mexico
what is 94= y over 4 -18 ?
what was the colonist's first step in becoming an independent nation?
Andrew's recipe requires 7 pieces of toast every 14 spoons of butter.how many pieces of toast will he need if he uses 22 spoons of butter?
Why do whole numbers with an exponent get bigger while fractions with an exponent get smaller.
What weaknesses did ltaly have?
break apart and distribute to solve 72÷8 72÷8=(40÷8)+(____÷8) =5+____ =_____
Describe how the parts of a cell are like a city or town. Identify what parts of a town are similar to cell organelles.
how do you say goodbye in Chinese
Describe two differences between german culture and the roman culture.