nnekaeke123
nnekaeke123 nnekaeke123
  • 02-06-2022
  • Computers and Technology
contestada

write an algorithm to print the first 100 odd numbers​

Respuesta :

angelloveschurch angelloveschurch
  • 02-06-2022

Answer:

ALGORITHM :

Step 1: Start

Step 2: Declare variable c of integer type

Step 3: Set c=0

Step 4: Repeat step 4.1 to 4.3 while (c<=100)

Step 4.1: if (c%2 != 0)

Step 4.2: then print c

Step 4.3 : c=c+1

Step 5: Stop

FLOWCHART:

Explanation:

Ver imagen angelloveschurch
Answer Link

Otras preguntas

museum passes cost $5 for adults and $2 for children. one day the museum sold 1820 passes for $6100. how many of each type were sold
What happens to a water bottle in a freezer and why
Which of the following types of information are needed to construct a karyotype? I. Size of the chromosomes II. Gene mutations of the chromosomes
What is the combined weigh of 6 3/8 kilograms and 7 2/5
Which sentence uses hyphens correctly? I ordered two sugar-coated-pies. The pie was sugar-coated. I ordered two sugar-coated pies. The ordered pie was sugar-coa
The official American response to the French Revolution was (A) neutrality (B) financial support only (C) favorable to the aristocracy (D) military and financia
Which battle or event caused the most Japanese casualties
Which of the following was the main reason that American colonists opposed the Stamp Act of 1765? A. The act was taxation without representation. B. The tax was
how many times greater is 1 mile than 1 foot
Please help me ASAP!!! What is − 9 over 20 as a decimal and as a percent? Decimal: Percent: %