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

in "sympathy," what does the caged bird symbolize? a. freedom b. health c. captivity d. sickness
Ideas of nationalism within its empire particularly threatened which of these European nations in 1914? France Britain Germany Austria-Hungary
I really don't understand
Which element has only two half filled orbitals in the 3D sub level
Problem 1: For which of the following activities might you want to hire a chemist? A. building a garage B. testing a sample of water from a well C.
What is the simplified expression for -3(2x - y) + 2y +2(x + y)?
A triangle has base 7m and area 17.5m^2 what is the height
In the molecule, C2H4, what are the atomic orbitals that participate in forming the sigma bond between the C and H atoms
Strep throat, food poisoning, and anthrax are all diseases caused by which of the following? fungi viruses protists bacteria
what are the domain and range of the function f(x) = 4?