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

Hhelpppp plz fastttMixture of water and acetone is an example of Heterogeneous mixture Select one : O True O False​
Question 4 point CH2-CO-THEO 149.65 mole of methane reacts with oxygen to produce carbon dioxide and water, what mass of water is produced 174 gram 425 gram 343
PLEASE DO YOUR MAGIC. ONLY HONEST ANSWERS 40 points and will NAME BRAINLIEST
adding 5 and subtracting 5 are____​
Help pls!! What things do teenagers feel are important?
find the probability of at least 6 failures in 7 trials of a binomial experiment in which the probability of success in any trial is 9%​
Michelle and Themba are travelling from Cape Town to Johannesburg by car. They travel 39km in 18 minutes and continue at a constant speed . How far will they ha
9/125 into a decimal fraction​
6 less than the product of 8 and -10​
The p53 gene is important to the cell cycle in G1 and G2, and cancer. What happens to the cell cycle when a mutation occurs in the p53 gene?(please no links!!)