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

How did the terrain of Bunker Hill assist the Patriots in their battle against Britain?
Which decimal below is equivalent to 5/9?
what are your priorities? projects?​
25. Smoke and fog together give rise to: global warming smog ozone depletion acid rain
what is 6,389 divided by 27
Fahrenheit 451 Question
I’ll give BRAINLIEST if correct
Which of these would be least important to include in a summary of this article? A. Rodrigo learned to play piano in Temecula, California. B. Rodrigo's emotiona
what is 6,389 divided by 27
How can this sentence be changed into a simple sentence? The ski club members are raising money for a trip to Aspen, but they will probably pay most of the expe