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

Scarcity is the condition of not having enough goods and services to satisfy everyone's?
Prove that (x^5)-(x^2)+2x +3=0 has at least one real root. Prove that x=cosx has at least one solution.
Find Domain of the functionsquare root of (x-8)/x(x-9)
Marika and Freddy sold 70 homes for Ron Realty. If Marika sold 2.5 times as many homes as Freddy, how many homes did each sell?
find an equivalent expression without parentheses -(50x-15y+15)=
Historians of china have traditionally dated the beginning of Chinese civilization to the founding of the what??
How were life forms affected by the rise in atmospheric oxygen levels that began 2.2 billion years ago?
How is it possible for Mercury to have frozen ice ?
Prove that (x^5)-(x^2)+2x +3=0 has at least one real root. Prove that x=cosx has at least one solution.
(10y^3+20y^2+55y)/5y