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

Together, Victor and Tami Vargas earn $33,280 per year. Tami earns $4,160 more per year than Victor earns. How much do Victor and Tami each earn per year?
The rotation period for Venus is___days. (pls help!) 365 186 512 243
Which group was enslaved in Ancient Egypt for four centuries, assisting in the building of many Egyptian monuments? A) the Hebrews B) the Assyrians C) the H
What is 0.13% of 4400? Round to the nearest hundredth (if necessary).
Convert the angle 0 = 345° to radians.
Competitive admission is mostly used by: O A. junior colleges O B. community colleges. O C. two-year colleges. O D. four-year colleges.
A manager states that his process is really working well. Out of 1,500 parts, 1,477 were produced free of a particular defect and passed inspection. a. Calculat
Long Construction Company uses the percentage-of-completion method of accounting for long-term construction contracts. During 2021, Long began work on a $400 mi
As a result of modernization, families around the world have generally:
what is the reaction​