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

Can you name the values of the given digits in the 3s in 330, how many times greater the first digit is than the second digit
Ginger sent 18 text messages yesterday Jerry sent 4 more than twice as many messages as Ginger sent. Kyle sent 15 fewer messages than Jerry. How many text messa
What are discretionary calories
How does a digit in the ten thousands place compare to a digit in the thousands place?
64 divided by 0.4 and explain how you did it please i don't wanna be stuck on this all night
0.8 is 10 times as great as what decimal
what is 1/10 of 90000
How to estimate 518 + 372
a maze at a country fair is made from 275 bales of hay. the maze at the state fair is made from 4 times as many bales of hay. how nany bales of hay are used for
For a conclusion to be accepted by the scientific community, the data must be accurate, free from error, and A.reproducible. B.varied. C.unique. D.surprising