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

Is 0.313311333111......... a repeating decimal?
what is the comparative form of the adjective extraordinary?
Spartan women benefited a great deal from the story of the warrior woman in mythology, folklore, and history. In fact, unlike women in Athens, Spartan women we
State one way in which persons become members of the representative (lower house)
What British philosopher was associated with the Natural Rights?
what are the parts of a chemical reaction
De quelle couleur sont les bottes
Which tools would sara use to find an irregularly shaped object’s mass and volume? a meter stick, a ruler, and water a meter stick, a balance, and water a balan
Whole numbers greater than 5 but less than 10
how much time does it take a person to walk 12 km north at a velocity of 6.5 km/h