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

5x-1=15x-101 equation
A bus travels 20 km in 30 minutes. what is the average speed of the bus?
Solve the system of equations. 5x+9y+9z=5 4x+9y+6z=10 2x+2y+5z=9 Answer choices: a. x=116, y=8,z=-21 b. x=82, y=-10, z=9 c. x=-116, y=28,z=37 d. x=6,y=-14,z=1
What does the monogenesis theory in Language emergence state ?
what is half of 5.20
Tom gathered some mushrooms. Of those he dried 2/5 , then pickled 5/9 of the remaining mushrooms, and then fried the 28 mushrooms that were left. How many m
How does endosymbiosis play A role in evolution of prokaryotes and eukaryotes and how are mitochondria important to this evolution?
What is the closest relative of canis lupus?
how can i show my work for 2x-4= -10+x
Jason is saving up to buy a digital camera that cost $490. So far he has saved $175. He would like to buy the camera 3 weeks from now. Write an equation and sol