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

A _________________ urges readers to take particular actions in response to what the writer is saying in an essay.
How many grams of hcl can be produced if 7.25 g of cl2 is reacted with an unlimited supply of h2?
"can you identify the types of cell in which each organelle is found?"
I don’t know how to solve the equation
[tex] - 30 = 2(x - 97)[/tex]
My final balance after 48 months was $896.00. If I originally put $800.00 into the bank, what was the interest rate?
How did meiji japan combine fundamental change with a continuing japanese identity?
What are the different childcare options that families have?
Which of the following is a criticism of globalization? A. Diminished sovereignty of governments B. Exchange of ideas C. Lower cost manufacturing D. Low
Can somebody please help me?