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 of these is a combustion and synthesis reaction? A. CH4 + 2 O2 → CO2 + 2 H2O B. Mg + O2 → MgO C. H2O → H2 + O2 D. CaO → Ca + O2
Please help asap please and thank you
Find the area of the shaded region?
which expression does not give the area of the shaded figure?
After the rock show, the musicians headed to the diner for snacks. Darla bit into the hot, gooey bread. A. Darla bit into the hot gooey bread. B. Darla bit into
Which document is used by a seller to describe the condition of his property to the buyer?
In what ways were the Buddhist temples thar shotoku built more than places of worship
The maryland colony opened its settlement to _______.
President Eisenhower believed in the domino theory as it applied to world politics wich held that
25 POINTS What is most likely the reason Lincoln repeats his declaration that "all persons held as slaves . . . shall be . . . free" in his Emancipation Proclam