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

Which technological development enabled European navigators to determine their location during the Age of Exploration? (1) lateen sail (2) astrolabe (3) cross
An object of mass 2 kg has a linear momentum of magnitude 6 kg • m/s. What is this object’s kinetic energy?
If y^8= 4 and y^7=3/x, what is the value of y in terms of x?
how do you figure out what is 1/4 of 10.
Most autotrophs make “food” through the process of a. photosynthesis. b. homeostasis c. chemosynthesis d. cellular respiration
What caused the rise of military government in Japan?
A boy can swim 75 feet in 12 seconds. What is his rate to the nearest mile per hour?
If 4x+5y=10 and x+3y = 8 then (5x+8y)/3=
A pizza with 2 toppings from Maria's Pizza Place costs $11.00.A pizza with 5 toppings from Maria's Pizza Place costs $14.75.Each topping at Maria's Pizza Place
What caused the rise of military government in Japan?