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

how can you decide if finding common multiples and common factors is helpful in solving a problem?explain.
-3(y+4)=21 solve for y show all work please , thank u
Why were special conventions and not state legislatures called upon to ratify the constitution?
ANSWER FIRST 3 MUSIC+MATH HELP PLEASEEEEE
If a person strikes a kneecap and tears a patellar tendon, the function of which muscle will be impaired
About how far inland from the supposed site of the Jamestown Fort is the fort actually located?
For 5(x − 4)2, the order of operations requires that we multiply (x − 4)(x − 4) before multiplying by the numerical coefficient 5. Use the order of operations i
Solve p−|5|×|−3|=−20
Let f (x) = 2x - 1, g(x) = 3x, and h(x) = x2 + 1. Compute the following: f (g (x)) and h (f (x))
David's bowling score is 5 less than 3 times Aaron score the sum of the score is 215 find the score of each student