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

where are chromosomes found in eukaryotic cells
How many “dots” would be around the central atom in the Lewis structure of S? A) 5 B) 6 C) 7 D) 4
The outermost tissue of a tree trunk that is 6 feet in diameter would most likely be (A) epidermis (B) cork (C) cortex (D) phloem (E) xylem
what are the differences between german and english schools
I have been stuck with this one, and i would like to how to solve this. In each case, determine whether line AB is parallel or perpendicular to CD. (a) A(0, 0),
What energy is transfomed that takes place you lifting a chair?
What part of the cell produces ATP for the blueberry plant to grow? A. Mitochondrion B. Cytoplasm C. Ribosome D. Nucleus
help help help help!
How does latitude affect climate
what are the differences between german and english schools