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

If an ant runs randomly through an enclosed circular field of radius 2 feet with an inner circle of radius 1 foot, what is the probability that the ant will be
how are airplanes artificially pressurized?
Why Do We Sweat? Need some help
Ho does differentiation change an embryo as it develops
how do you convert mol dm-3 to gdm-3 and vice versa
If 5x^2 - 15x = 0 and x ≠ 0, find the value of x. (A) -10 (B) -3 (C) 10 (D) 5 (E) 3
when did grass evolve?
what is the definition of sin
solve the formula for the indicated variable  c=yt+y,for t (the solution is t=___)
What is 4p-13p-p=-150 More 2 step equations. I don't get this one at all