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

Simplify the following expression.
F(x) = x squared - 3x -7 Find f(-3)
the adult age in many states are 18, although there are some states where u need to be 17 to be consider an adult legally, which ones? ​
HELP ASAP QUICK QUESTION : I just need to know, when you work out the length of the missing side do you put cm for the units or not???
What is the energy needed to raise 2.004g of water from 89.0°C to 139.0°C?
Sam & Avery are making small and large birdhouses for a craft show. Small houses sell for $10 and large houses sell for $15. It takes Sam 3 hours to build s
7.What is the solution to the equation shown below?2/3x+5=1​
Translate thisQuel âge avais-tu​
Given points A (1, 2/3), B (x, -4/5), and C (-1/2, 4) determine the value of x such that all three points are collinear
question 14. Select the correct answer. If f(x)=x^2/x+3, find f(x+h)