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 of the following was one of the most important duties of the band leader? (ASAP!!) A. performing the Calumet ritual B. leading the defense against raids C
Plz help me I need help
14. The diameter of carbon atom is about 3.4 x 10-7 millimeter. Is it more appropriate to report the diameter of carbon atom as 3.4 x 10-7 millimeter or 3.4 x 1
what was reconstrution?
Tell a story from the perspective of a Coyote , a Crow , a Bear , a Fish or a Turtle . Or pick your own animal . Tell a story about a place you would like to be
Identify who first ruled the Franks.
Can someone please help I’m very confused
The species on the Galapagos had no contact with what for millions of years?
Factor mn+7n−m−7 by grouping.
Why do you think Internet exclusivity translates to higher rates on interest-bearing accounts?