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

With respect to gift giving and gift receiving, ____ refers to money paid before an exchange.
Which words from summer describe what some men find in nature1.communion,soothes,healing2. lavish,rushing,playing3.lazily,idly,distant4.pause,void,space?
Describe the process by which ozone can be formed in large city
A mobile phone manufacturing company observes that the main reason for an abrupt fall in sales volume is the unconventional design of their phones that consumer
What do they following have in common: Popular Sovereignty, Limited Government, Civil Liberties, and Separation of Powers. A) They concern economic development
How are magnetic forces like electric forces? (4 points) Select one: a. They both have charges b. In both, opposites attract. c. In both, opposites repel. d. Ne
Does the presence of acid-fast organisms in a clinical specimen always suggest serious clinical disease? why or why not?
what equals Infinity multiplied by Infinity
The sternum (breastbone) is __________ to the vertebral column.
If an organism eats an insect, what type of heterotroph is it?