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

When a 757 passenger jet begins its descent to the Ronald Reagan National Airport in Washington, D.C., it is 3900 feet from the ground. Its angle of descent is
how long did it take for peak, sun-jo, and Zopa to get to base camp
the code talkers work contributed mostly to
The purpose of ___ ___ laws were to restrict the rights of African Americans who lived in Southern states. A) "Jim Crow" B) "Civil Rights" C) "Anti Prohibiti
substitute x with 2.
What are the best types of evidence to use within the body paragraphs of an argument essay? Unsupported opinions Logical fallacies Visual Aids Facts a
PLease help! Jonathan puts $400 in a bank account. Each year the account earns 6% simple interest. How much interest will be earned in 5 years?
Why must governments be able to compromise?
Monthly water bills for a city have a mean of $108.43 and a standard deviation of $36.98. Find the probability that a randomly selected bill will have an amount
Jessica is organizing a guided tour of the rain forest. The average profit per person that the touring company makes is given by the rational expression 18x+35/