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

g ____________________________ the income tax would be counter-cyclical fiscal policy if the economy were _________________________.Group of answer choicesRaisi
An animal shelter has 5 times as many cats as it has dogs. There are 75cats at the shelter
find the area of a square with a side length of 9 m ​
3. An extremely light rod 1.00 m long has a 2.00-kg mass attached to one end and a 3.00-kg mass attached to the other. The system rotates at a constant angular
what is the point slope form of a line with slope -4 that contains the point (-2,3)
A girl and her bicycle have a total mass of 40 kg. At the top of the hill her speed is 5.0 m/s. The hill is 10 m high and 100 m long. If the force of friction a
Was unfair taxation solved by the American Revolution?
Write down in terms of n, an expression for the nth term of the following sequences: a) 4 1 -2-5-8 b) -7 -12 -17 -22 -27
Maria measured a centipede that was 1 1/12inches long. Jerome measured a centipede that was 11/12 of an inch long. How much longer was Maria's centipede than Je
Solve 2x + 4 > 16 A. X < 6 B. X > 6 C. X < 10 D. X > 10