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

How many moles of oxygen are required to produce 4 moles of water?​
Please answer soon! I will mark brainiest!
3/4 of the class like dogs. 1/6 of the class like cats. what fraction of the class like either cats or dogs?
What number is greater 07 or 0007 ?
Why do people of different religion in India eat different kinds of foods.
In a paragraph argue whether the conscionable forces could have won the American Revolution without foreign aid
According to Wallach, what is short-termism, and why is it a problem? What is “longpath” and why did Wallach develop the concept? Briefly discuss e
Below are different types of people involved in the Great Depression. Think about how they would have reacted to the Great Depression and read your notes
How do you say with me in Spanish? Question 17 options: conmigo con yo contigo con tú
A 13 mile race is equally split up between 5 friends. Which expression shows the distance each friend will run