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

i need 12 facts about the soviet union
"The general laughed with entire good nature. He regarded Rainsford quizzically. “I refuse to believe that so modern and civilized a young man as you seem to
what is the United States a developing country or developed country?
90074x5 Need proof so i know you didnt use a calculator
A dog walking service offers a daily and a weekly service. In the winter, the ratio of daily customers to weekly customers was 1:5. However, in the spring, more
Parallel and perpendicular lines
if there are 3.45 moles of acetic acid (C2H4O) in a bottle of vinegar, how many molecules would be in this bottle if you counted them?
HELP!! (25+ Points!!) Which of the following sections represents a federal court that would hear cases for the first time? A > B > C > D < E
mr. Bailey is the principal of the school with 465 students and 44 teachers. The librarian told Mr Bailey that there were 16 times as many books in the library
When there is a cut in the skin and bacteria enter the body, the immune system responds. First, macrophages approach the area of the cut. Next, the macrophages