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

How would you replace 27/50 with the nearest half or whole number without using a number line?
How would you replace 27/50 with the nearest half or whole number without using a number line?
some number minus 6 is equal to 20 minus 19
a mother places her hand on a hot stovetop. The stimulus reaches the sensory neaurons of her fingertips. What nerve pathway will this stumulus signal contunue t
why did they choose the location of mission san Fernando?
what is the smallest unit that can carry on all functions of life
How does the geographic distribution of organisms support the theory of evolution?
if line ab is parallel to line CD,and line CD is perpendicular to line EF.what can you conlude about AB andEF
Imagine you are a historian reflecting on this period in history. You've been asked to create a product that describes the Spanish American War or the building
if the ones digit of a numbers greater than 1 is 0, what factor or factors must that number have?