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

a middle school scored three field goals worth three points each and two touchdowns worth six points, where each touchdown also had an additional score of two p
a tank 4/5 full needs 75 liters to fill it up. how many liters does it hold when full? - help please :3 xx
how do you write 35.2 in word form?
What is 45/60 in simplest form
What is 45/60 in simplest form
(3x+2)∧2=9 how do i solve this in the square root property
does water roll or slide in wax paper?
36/b-3=0 find the solution of this equation.
What is the answer to 7- 5/3c=22
What is 9605.327 rounded to the nearest ten?