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 climate of the Mediterranean influence culture in the region?
Early Greeks might all be considered islanders because they where seperated from each other by water or ____________ .
List the next four multiples of the fraction 3/5
Around how many people are on planet earth right now?
In what way is Anne, despite how she and her family must live, very like other people her age? a. She admires her father and mother greatly. b. She writes ofte
is 2/2 bigger than 3/3
Ira build a model of the great pyramid in egypt for a school project.The great Pyramid has square base with sides of leght 756 ft. .The legth of the great Pyram
Andrew is going on a weekend camping trip. He has 3 7/8 gallons of water. How much water might he use on Saturday? How much would be left for Sunday? PLEASE HEL
15 counters in the whole set. how many are there in 2/3 of the set?
draw counters show how 7 is 5 and 2