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

in a geometric series t1=23,t3=92 and the sum of all of the terms of the series is 62813. How many terms are in the series
What what handels full name
What happened to Mohenjo-Daro and Harappa? (They're two ancient cities in ancient India)
Veronica earned $150 at work this past week in her paycheck. She wants to buy some necklaces which costs $6 each. She writes a function to model the amount of m
how do i make 24 using the numbers 11 6 10 2?
What is the state at which a net force is zero called
In a titration, 45.0 mL of KOH is neutralized by 75.0 mL of 0.30M HBr. How much KOH is in 1.0 liter of the KOH solution ?
An element with mass 1000 grams decays by 14.8% per minute. How much of the element is remaining after 11 minutes, to the nearest 10th of a gram?
what are some interesting facts about the great sandy desert?
@stewyWhich sentence uses a verb that agrees with its compound subject?     A.Waiters and waitresses serve the diners at the banquet.B.cell phones and tablets i