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

2703+206306296292729
Jenny measured 1/4 cup of flour and 4/9 cup of flower how many cups did jenny measure give answer in reduced terms
I need help w this qusrion
Find the numerical values of the following expressions. 4 a 8 − a if a = − 2
7 plus 7 when 7 equals 288484&393383883
Make a 5% offer on a Volkswagen that has a sticker price of $22,860 and a dealer cost of $20,254
An introductory, improvisatory-like movement that gives the performer a chance to warm up and sets the stage for a more substantive subsequent movement. A) Prel
A family spends $45,000 on living expenses. with an annual inflation rate of 9%, they can expect to spend approximately __________ in one yeaA. 50,045B. 46,045C
LeBron Raymone James, Sr., The First Player In NBA History With 40,000 Points During The Denver Nuggets And The Los Angeles Lakers At Crypto.Com Arena In Los An
Jeremiah is working on a model bridge. He needs to create triangular components, and he plans to use toothpicks. He finds three toothpicks of lengths 4 in, 5 in