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 civilization built ziggurats and used cuneiform to record information? Indus Valley Egypt China Mesopotamia
what digit can be in the ones place of a number that has 5as a factor
what is 5 divided by 312 in the long way
Number pattern 1,1,2,6,24,120
Maya Angelou shows in the narrative that she was jealous of siblings. made money for her family in cotton fields. longed for a mentor to admire. found out she w
there tiger barbs in a 15 gallon aquarium and giant dani is in a 30 gallon aquarium.what numerical expression to represent the greatest total number of fish tha
Which sentence uses punctuation correctly? a. Beneath the tall, tree the family ate a picnic of fruit and muffins. b. Beneath the tall tree the family ate, a
Is colony a collective noun
solve this equation: 5/8y=-1
Which of the following objects is NOT normally used in current space exploration? a. space shuttles c. single use rockets b. space stations d. space prob