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 did confucius believe were the keys to social order and peace?.
A force of 15 N is applied to a spring, causing it to stretch 0. 3 m. What is the spring constant for this particular spring? N/m.
On a survey eight students reported how many minutes it takes them to travel to school here are there responses 9, 11, 3, 14, 14, 7, 14, 6 find the mean travel
S Students collected 600 cans for the canned food drive That was 80% of their goal. How many more cans do they need to collect to reach their goal? Show your wo
How did Harriet convince Rit to come with her to freedom?
What is the gerund function in the following sentence: Being a good student requires a lot of work.
How do I graph this inequality
help please and add an explanation thank youuu
After her baby’s birth a client wishes to begin breast-feeding as soon as possible. How can the nurse best assist the client at this time?.
MARKING AS BRAINLIEST! LAST ATTEMPT! ) show ur work