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

Which word in the sentence does the adverb modify? The new neighbors planted a rose garden yesterday. a. rose b. neighbors c. planted d. garden
what is the answer to 7/12 - 2/3 =
give an example of a rule for a pattern. list a set of numbers that fit the pattern
%of 25 is 14. what percent of 20 is 11? 15 is what percent of 5
Which of the following describes the correct process of beginning an exercise program? A. consult a medical professional, choose your exercises, start your prog
With regard to British influences on India, which of the following statements is true? a. The common name for the British Indian Empire was the "British Raj."
Of the following nations, which was the least satisfied with the outcome of the Treaty of Versailles? a. Italy b. France c. Germany d. The United States
During the Gilded Age, reform laws regarding the government regulation of business were A .extremely effective. B. not effective at all. C. somewhat effective.
Factor 54+27 using the GCF.
Ideas to write about an antique gallery? Can there be chairs in a gallery?