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

He wanted to make another quilt with an area of 42 square feet. What are its possible dimensions if they must be whole numbers? Which length and width makes the
What are the physical benefits to be gained from participating in track as a sport?
what was someone likely to do in rome's forum? a. eat at a restaurant and hear a speech b. bury someone who had died\ c. make a sacrifice to the gods d. vote on
Which phrase best describes the “cause” that Paine refers to
Find three sets of Values for x and y to make x/y=4/32 a proportion. Explain how you found the Values.
Is 4 miles greater than 15,840 feet
Species is a(an)_________ specific level of classification than domain.
what molecule is known as the universal energy source of the cell
What does a glossary provide? Instructions for reading and analyzing each chapter within the text Illustrations of charts and other statistical information foun
What is the source of the oxygen released into the air as a product of photosynthesis? A. Chlorophyll B. Carbon dioxide only C. Water only D. Both water and car