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

An example of a primary source of information about the war of 1812 would be a
Chronic kidney disease impacts many systems in the body. what is the number one hematologic disorder caused by ckd?
what is the length of 180 ft the width of garden is 40ft. what is the gardens feet?
What is largest source of unregulated hazardous waste?
Which similarities exist between the cultures of Australia and New Zealand and the cultures of the United States and Great Britain? Choose ALL answers that are
Tasha went on a trekking expedition to a mountain range during her vacation. When she reached a particular height, it started raining heavily. Which sphere of E
A rectangle is called cool if the number of square units in its area is equal to twice the number of units in its perimeter. A cool rectangle also must have int
what is the length of missing side? A. 21.8 B. 26 C. 28 D. 34
Rhea is solving a math puzzle to find the solution of the puzzle she must find the product of two numbers the first number is the sum of 23 and X in the second
In the civil war, more than twice as many men died of ______ than in battle.