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

Island controlled by the republic of China
What is the approximate circumference of Circle A? Use π ⁢   ≈ 3.14. Record your answer to the nearest hundredth.
The corporate staff in the accounting department at ABC Corporation went on 12-hour days during the holiday season, just like the regular retail employees do du
Please can you check my answer You originally draw a design for an art contest on a 4 in. x 5 in. card. The second phase of the contest requires the drawing to
In which Supreme Court case did this provision of the Northwest ordinance play in important part
To halt the decline in biodiversity, we must do which of the following?
The difference of two times a number and eighteen is sixteen.
Which answer is correct?
Which situation is considered reinforcement
Which was one of the main goals of the progressives during the Progressive Movement? a.For the voters to have the power to replace the government because of cor