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

QUESTION 6,7,8 PLS HELP
Hi. Anyone here a fan of Arabic culture?
The manufacturing overhead budget of Paparella Corporation is based on budgeted direct labor-hours. The November direct labor budget indicates that 6,000 direct
Find the surface of the figure :1ft,5ft,7ft
Please help Find true statements
Simplify x÷2+2x ÷3+3x÷4​
Mills Corporation acquired as a long-term investment $225 million of 8% bonds, dated July 1, on July 1, 2021. Company management has the positive intent and abi
what is the purpose of a normally functioning dopamine reuptake transporter
Animals were what organisms that used food for energy
A large pizza costs $8.95, plus $0.65 for each additional topping. Ron paid $10.90 for a large pizza. How many additional toppings did he get? (please show all