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

How were kush and Axum alike
Which incident would result in Primary Succession instead of Secondary Succession?
A 16 ounce bottle of orange juice says it contains 200 milligrams of vitamin c which is 250% uh just read the paper it explains it better
Please help me!!! (the answer isn't 140 or 70 :/ )
!!!URGENT!!! 10 POINTS!!! A train starts from Grand City and travels toward Belleville 388 miles away. At the same time, a train starts from Belleville and runs
Which response would best complete this conversation? Emily: ¿Cuántos días en la semana ordenas tu cuarto? Luisa: _____________________________
The ______ zone, which exists from a depth of 0 to 600 feet, is home to the majority of ocean life.
what resource do offshore oil rigs
Occurrences of major earthquakes are considered unusual, but minor tremors happen frequently. Which word is an adjective?
Which was the outcome of the six-day war of 1967