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

The Fall Festival charges $0.75 per ticket for the rides. Kendall bought 18 tickets for rides and spent a total of $33.50 at the festival. She only spent her mo
With whom did the backcountry settlers have conflicts
increase or decrease 32 pages to 28 Pages round to the nearest tenth of a percent
A tropical rainforest may be unable to return to its original climax community after which of the following disturbances?A. burning of a forest fire B. clearing
What is the true hourly wage of a job that pays $18 per hour and allows 20 hours of paid time off for every 500 hours worker?
How many types of rocks are there
What is a pike in geography? I WILL GIVE BRAINLIEST.
Is it true that pan-african leaders were all Christians
what do you think is the purpose for the film singing in the rain? why? how does the filmmaker created this purpose within the film?
Solve for x: −12 > −36 − 8 Can you please also show your work it would be greatly appreciated