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

Find the value of x.
There there are eight pencils in each pack how many packs will be needed of 28 children of each children get four pencils
John invested $45 000 in the investment account that pays an interest rate of 17.75%p.a. compounding bi-annually for 10 years. After five and half years from
how did muslim leaders react to imperialism
Which caused the US army to take over atomic research in the early 1940s? The first atomic bomb test A letter from Albert Einstein Japans research into atomic
What is the location of the point on the number line that is 2/5 of the way from A = 31 to B = 6?A) 16B) 19C) 21D) 11
Solve for x. −3x + 2b > 8
A sample gaseous CO exerts a pressure of 45.6mm Hg in a 56.0L flask at 22 C. If the gas is released into a 2.70 x 10^4 liter room, what is the partial pressure
How did the northwest ordinance of 1787 affect the expansion of slavery?
Find length and width .the lenght is 10 times as long as the width.P=308