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

"My puppy gained thirty pounds last year," she shared.
Mari and Mandy are twin sisters. When they go outside, people always ask "Which one is Mandy and which one is Mari?". List 2 ways they can prevent this from hap
State the zeros of the polynomial (include multiplicity): f(x) = x(x+3)(x - 2) =
I need help I do not understand this
9. If you had to give a speech on an important issue, what would it be?
Fill in the blanks, help please
You can enter numbers in the Zoom field to zoom in or out a precise amount. True or false
My question is in the attachment.
This question has two parts. First, answer part A. Then, answer part B. Part A Which statement summarizes a point the author makes about seaweed and fuel? A.
Which rhetorical device does imagery appeal to? Ethos Pathos or Logos