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

What is human trafficking? ​
What is the x-intercept and y-intercept of the line 6x 3y=15
write a diary entry on Rajgir hills of bihar​
HELP PLEASE 50 POINTS!!!!!!For the trait being followed in the pedigree (hemophilia), individuals ||-1 and ||-4 can be classified as...​
what is 1,256,893 times 234,985,029
How is the main hydraulic system reservoir pressurized?
If the tea harvest is bad in a particular year, what is the most likely impact on the market for coffee in equilibrium? a) Increase in price and increase in qua
Read the excerpt from act 2 of A Doll's House. Nora: What are you going to do? Helmer: [looking among his papers] Settle it. [Enter MAID.] Look here; take this
A submarine descends at a constant rate of 300 feet per minute. Which of the following equations best represents how to find the change of altitude of the subma
When developing a teaching plan for a client who is taking insulin, which of the following foods would the nurse suggest the client carry with him to treat mild