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

The dimensions of a brick that weighs 25 N are 0.19 m × 0.07 m × 0.095 m. What pressure does the brick exert on the ground if it is resting on its largest face?
The circumference of a circle is 6.28.What is the area of the circle?
conversation between Hitler and gandhi
if you live 35 miles from work & drive 35 mph how long would it take to get there
Al washed a car in 6 minutes. Fred washes the same car in 8 min. How long dies it take Al and Fred to wash the car together?
How do u write 6 more the 7 times a number is 41 in algebraic equation??
The Indus, Ganges, and Brahmaputra were important to ancient India because they were
The graph of y = 4x - 11 is translated up 8 units. Which equation represents the translated graph? f y = 4x - 19 g y = 4x - 3 h y = 12x - 11 j y = 12x - 3
How do u write 6 more the 7 times a number is 41 in algebraic equation??
The entire region of Northern Africa and southwest Asia has a climate generally described as?