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

water in a pan over a radiator evaporates much faster than a water pan in a table ???? i need help ppl
What is 9x^2-24x+ 16
What's another name for vital signs?
Substitution how do u do it??
Explain why the railroads were not built in a straight line from east to west.
what is the prefix of enactment?
y varies directly as x. if x=5 when y=12 find x when y=30
What are the 4 main products for southeast
What are the 4 main products for southeast
What is 38/50 as a decimal... and what is 28/50 as a decimal? PLEASE HELP ME !!!! i hate struggling with homework!