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

whats the answer to this question!?
What is the value of x to the nearest degree ???!!
In which cell is a mutation most likely to affect the next generation?
please help me . sooooooooooon
It is possible to zone a walk-in to maintain appropriate temperature and humidity levels for storing various foods. a. True b. False
When a group of colleagues discussed where their annual retreat should take​ place, they found that of all the​ colleagues: 17 would not go to a​ park, 24 w
help with this blank question
King philip iv of france's ability to move pope clement v's court to avignon demonstrates the
People infected with stds often do not realize they have an infection because many stds can be __________.
What is the best book to get for the AP world history exam to study before taking that class