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

Why do microbiologists wear laboratory coats? did you confirm that this is necessary? 2. why is it necessary to wear clean, protective clothing when caring for
What is the world's shortest river?
Which emperor, despite his reputation as a cruel and barbaric leader, Is also well-known for the large public baths constructed under his rule? A. Caligula B. T
working on the cook line can be busy . it is best to
The legs of a right triangle measure 5√2 cm and 4√2 cm. Find the area.
Write a balanced chemical equation for the reaction that occurs when barium carbonate decomposes into barium oxide and carbon dioxide gas when heated.
How were the September 11 terrorist attacks unique??
which one is it A. B. C. or D.
What was the main problem with the articles of confederation? it created a strong national government it created too many wars it created a monarchy it created
The function below shows the number of car owners f(t), in thousands, in a city in different years t: f(t) = 1.1t^2 − 2.5t + 1.5 The average rate of change of f