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

what are the difference between limited partners and limited liabilities partners
How many grams are found in the element Na?
Which inequalities will have an open circle at -3
Which is greater 45 RPM or 4.71 rad/s? Why?
PLEASE HELP‼️ A B C D
Which factor encouraged more immigrants to settle in northern states than in southern states? Southern states had smaller industrial sectors Northern states had
solve for the valuve of 3⁴ - 5 x 3​
100 POINTS!!!! HAS ANYONE DONE THE LAB: Pigeonetic ASSIGNMENT IF SO COULD U SEND THE WORKSHEET
Why do nurses have the power to influence health policy?
What term is used by scientists to describe the gradual increase in surface temperature of the earth?