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

Which change results in the formation of different substances? (1) burning of propane (2) melting of NaCl (s) (3) deposition of CO2(g) (4) solidification of wat
A machine with a mechanical advantage of 10 is used to produce an output force of 250 newtons. What input force is applied to this machine
Log (10-4x) = log (10-3x)
Who is the “Father of Our Country”?
Solve for x. 6x - 2 = 5x - 7 - 3x
round 75.4614 to the nearest thousandth
One beneficial use of radioisotopes is (1) detection of disease (2) neutralization of an acid spill (3) decreasing the dissolved O2(g) level in seawater (4) inc
True or False The segments shown below could form a triangle. A_________C is 6 C_____B is 5 B_____________A is 8
What was one important thing that Abraham Lincoln did?
round 75.4614 to the nearest thousandth