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

Which was an important weakness of the Articles of Confederation?
what energy output objects work with the turbine?
The length of a rectangular rug is 4 less than twice its width. The perimeter of the rug is 40 feet. What is the area of the rug? 1) 96 sq ft 2) 56 sq ft 3) 104
Which do you think contributed most to the start of World War II : social ,political or economic factors ?​
In a chemical equation, the number written in front of the chemical formula is the ____
I need help pleaseee
What problem did the researchers from Virginia Tech encounter during their attempt to reforest post-mined soil using biochar?Answer
4581 divided 32 in Long division
BRAINLIEST GOES TO 1ST PERSON. Do a 2paragraph writeup on thr theme fantasy and freedom and how its connects to a unicorn.​
What was the advantage of having Greek colonies spread along the coastlines of the Mediterranean Sea?