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 common people gain influence in the roman republic?
23 pls help, it’s so weird I can’t find a pattern... and I am lazy pls and thx
A survey was carried out to check the rampancy of substance abuse. during the course of the survey, one section of people volunteered their opinions willingly.
What does the denominator of a rational exponent represent
Explain state building in Russia after the fall of the Mongols
Interpret which way Hitler violated the Treaty of Versailles? By increasing the military and taking land away from other countries By selling arms to other coun
PLEASE HELP ASAP!!! CORRECT ANSWER ONLY PLEASE!!! Fill in the blank with the correct PRESENT PROGRESSIVE form of the verb. Be sure to only write the conjugated
Find the area of the shaded figure.
The _______ gave the huguenots freedom of worship.
How to predict which elements are reactive under normal conditions?