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

Sylvanite is a mineral that contains 28.0% gold by mass. How much sylvanite would you need to dig up to obtain 63.0 grams of gold?
glands that release hormones into the blood are part of the __________. digestive system endocrine system nervous system circulatory system
factors that causes or influence teenagers to prescription for drung abuse
which equation can be used to find the answer? a garden with four sides has a perimeter of 45 ft. three of the sides have lengths of 7 ft, 14 ft, and 13 ft. wha
When driving, always keep your eyes moving. This statement means to: scan the road for potential hazards. take a quick glance, then return your sight to the f
what is the genotype ratio between the cross yyrr x yyrr?
What are the formulas for total surface area of 3D shapes ?
30909990 expanded form
Federal Reserve Banks directly affect the national economy by: administering consumer protection laws increasing and decreasing the money supply providing ov
given the point (4,5) and the slope 6, find y when x=24