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 bond quoted at [tex]93 \frac{1}{8} [/tex] is equal to ____ per $1000.00 of the face amount. A.)$9.32 B.)$9,312.50 C.)$931.25 D.)$93.16
The federal budget shows how much the government expects to receive in taxes. true or false?
How did Hawaii become an American territory? A. The islands were claimed under the Guano Islands Act. B. Hawaii was discovered and colonized by American explo
Which of the following might be described as corrosive? A.acid B:gossip C:bleach D:all of the above
How many pounds are in 15 tablespoons
About 96% of the information in human DNA is found in gorilla DNA. This evidence supports which statement?
Countries around the world are considering various possibilities to reduce the emission of greenhouse gases. Which step would be a cost-effective and realistic
how do the mouth and stomach play a role in mechanical digestion
1. Explain how cholesterol plays an important role in at least two different human body systems.
What is the correct definition of brazos?