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

Select all that apply. Besides many deaths, other effects of the plague included _____. persecution of Muslims and Jews for being the cause of the plague little
In what way did President Dwight Eisenhower disagree with Harry Truman on foreign policy?
How do you convert Pa*mm^2 to Pa*m^2?
What is an equation of the line that passes through the point (-2, 1) and is parallel to the line whose equation is 4x-2y=8?
team tool Bella canoed 15 3/4 miles in 5 1/4 hours
A little towns population is growing at an annual rate of 7.5%, annually. What is it’s growth rate per 3 years? Per 5 years? Round to the nearest tenth of a per
Using a multi-columned graphic organizer is most helpful when A) finalizing an outline. B) decoding unfamiliar words. C) establishing the meter or syntax of a l
The Council of Trent (1545-1563) reaffirmed certain Roman Catholic beliefs and yet made some reforms. List separately these reaffirmations of belief and the ref
Find the primary solution of cosθ=−0.3 ⁡
what other events or things do you want to know more about from the Little Rock Nine? Have the answer as a question At least 3