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

CPT (Current Procedural Terminology) codes consist of 3-4 numbers representing a unique service. True False
Ben has twenty-six coins in her pocket are all dollars(1$ coins) and quarters, and they add up to seventeen dollars in value. How many of each coin does he have
what is a development​
what is microsoft speadsheet
Exercise 4-7 Recording sales, purchases, shipping, and returns—buyer and seller LO P1, P2 Sydney Retailing (buyer) and Troy Wholesalers (seller) enter into the
Which graph represents the function of f(x) = 4x² - 4x -8/2x+2.​
2/3 - 10/9and5/3 and 7/9
True or false, The atomic number of an element is a whole number that decreases as you read across each row of the periodic table from left to right.
2. Commission: A car saleswoman earns a commission of 7% on each car she sells. How much did she earn on the sale of a car for $12,500?
People in the oil-rich country of Dubai must adapt to a lack of natural freshwater. How does this contribute to carbon emissions and global warming? A. Oil is u