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

The following two experiments are carried out with anhydrous potassium chloride and observations X and Y are made at the end of each experiment. Concentrated su
Which statements correctly describe something about resources?
Which best describes the conflict and resolution between Laocoön and the Trojans? A. Laocoön encourages the Trojans to bring the wooden h
Randy has a hard time remembering to pay his bills on time. Which feature would you recommend for Randy? A.printable graphs B.calendar C.automatic notices when
how would i do this?
The United States in 1800 had grown in what ways?
In Ms. Perron's class, 75% of the students are boys. There are 18 boys in the class. What is the total number of students in Ms. Perron's class
Why do many businesses use price competition?
how does X inactivation contribute to an organism's phenotype?
Select the four states bordering Mexico. California Arizona Colorado New Mexico Texas Louisiana Utah Nevada