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

What circumstances does Kevin experience that show he is probably not growing up in the contemporary United States?
By how much does a 3 - 2a exceed a 2 + a - 6?
On june 8, williams company issued an $80,000, 5%, 120-day note payable to brown industries. assuming a 360-day year, what is the maturity value of the note? a
According to one national highway traffic safety administration (nhtsa) study of multistate fatal collisions, how many drivers had drugs other than alcohol in t
Who provides final rulings on the constitutionality of state and local laws
Khanh begins to suspect that something is wrong with mister chinh when
What is the rate of change for this set of ordered pairs?
To move an sbu from its current position on a bcg business portfolio analysis, a manager should concentrate mostly on
When did world war 1 end?
Which of the following states that an orbital can contain two electrons only if all other orbitals at that sublevel contain at least one electron?8