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

do valence electrons have larger or smaller ionization energies that the inner-shell electrons?
Both “The Story of an Hour” and “The Lottery” are set in a particular time and place. In a different setting, the events of the plot might have been very differ
What is the answer to 2 1/5 times 2 2/9 show work
Explain the difference between a point estimate and an interval estimate.
There are 24 kids in Hillary’s fourth grade class. 3/4 of the class is male. How many girls are there in Hillary’s class?
Determine whether the function below is an even function, an odd function, both, or neither. F(x)=x^2+3
Part of the US government that carries outlaws is the
Postwar West Germany became a. socialist. c. a constitutional monarchy. b. democratic. d. a limited dictatorship.
Other than moisture, what are the three major components of the air you breathe?
Read number 15 and it also has a diagram so you know what to do.