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

PLEASE HELP. (Find the area of park)
the last time i visited aswan ............ in 2017
Find the midpoint of the segment with the following endpoints. (-5,-4)(-8,3)
Which of the following is the FIELD in a database table? Account_Balance $2,109.49 $1,345.20 $969.78
Whats the area of a parallelogram with a hight of 4cm and a base of 16cm
The dome of the shape to the right is a hemisphere, whose radius equals the radius of the right cylindrical base beneath it. Find the total surface area, rou
if 3/4 of a man income is 3000, what will be the man 1/4 of his income​
Handwritten solution required
△SZO≅△AVL. If m, angle, O, equals, 16, degreesm∠O=16 ∘ and m, angle, Z, equals, 144, degreesm∠Z=144 ∘ , find m, angle, Am∠A.
5 In your opinion, which are the two main issues of conflict between two any countries who share their borders? ​