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

In Japan most of the population shares a similar common heritage and the population shares a common political authority that is recognized by other states. We w
7) Benny had 351 dollars to spend on 9 books. After buying them he had 18 dollars. How much did each book cost ?
when was slavery and what year
True or False A fault line is a crack or fracture in the Earth’s crust along which movement, dislocation, and overlaps of plates occur.
Simplify. 15 X plus 2Y plus X plus 7X plus 8Y
Which of the following sentences is an example of a monologue? A) "I closed the door for you," said Mary" B) "That's unusual," I thought, "I was certain I left
different between GNP and GNI.​
Which statement best describes the development of theories that connected microscopic and macroscopic phenomena? It only took a few decades for scientists to de
2 3/10 + (-1 1/5) Mixed Numbers to improper fraction
In Holland, the diamond robbers used weapons. They made the guards