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

I learned it before but now I forgot it. Please help! 8x + 5 = 29. What is x. Please answer!
The scientific revolution challenged traditional christian beliefs because it
A respected developmental theorist who proposed a comprehensive life-span theory
________ is an autosomal recessive condition resulting in degeneration of the nervous system. Down syndrome Huntington's disease Kleinfelter syndrome
What is the significance of atomic nuclear decay?
The Catholic Church tried to convert the Pueblo Indians
What direct object pronoun in French would replace "toi"? te le vous me Question 2(Multiple Choice Worth 2 points) What direct object pronoun in French woul
the ratio of the length 7.2 meters and the length of 3.2 meters is?
8x = 7x + 3 Would I combine the 8x and the 7x at all in this equation?
When a government keeps someone within the society form hurting someone else, it most directly accomplishes which purpose of government?