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 problem did Roosevelt hope to solve by his “court-packing” plan?
What is the value of x? Enter your answer in the box. x = $\text{Basic}$ $x$y$x^2$\sqrt{ }$\frac{x}{ }$ $x\frac{ }{ }$ $x^{ }$x_{ }$\degree$\left(\right
which angle corresponds to <OJH​
NEED HELP ASAP ; How did the U.S. government address the King’s concerns in the letter of Birmingham jail (AP GOV)
30 was rounded to 1 significant figure. What is the lower bound?
Find the area of the circle with a diameter of 12 m. a 95.64 m2 b 112.27 m2 C 113.04 m2 d 210.36 m2
what is the scripture method of john 1:9
8x−10 ∘ +4x+52 ∘ =90 ∘
HELP!!! PLZ 10 minutes!! In aerobic cell respiration, glucose is converted to: a) H20 b) O2 c) Electrons d) CO2
What is the reciprocal of 14?