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 did geography affect Florida during the Civil War? A. Florida has a long coastline, so it was easy to blockade. B. Florida was far to the south, so few bat
What did the Monroe doctrine do for the u.s.and europe
find the area of a regular hexagon with apothem of 17.3 miles long and a side length of 20 miles long.
In "The Wind Began to Rock the Grass," why does Emily Dickinson compare the lightning to the "livid Claw" of a bird? A. This poem focuses on the natural world
Who was allowed to rule Rome and establish an empire in place of the Roman Republic? A. Diocletian B. Caesar Augustus C. Nero D. Julius Caesar
Which of the following was NOT a problem that led to the fall of the Soviet Union? Choose one answer. a. Drastic drops in the production of Soviet coal and ste
-3x-3y=3 5x+y=-17 What is the answer ?
Giving into an aggressor in order to avoid a larger conflict
Find the angle with a tangent ratio of 0.4877
The key battle that finally turned the tide against the Confederates was the __________.