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

Why did most settlers in Texas use the services of empresarios
Use the Euclidean algorithm to calculate gcd(259, 621) and gcd(108, 156).
What makes each piece of evidence effective? 1. “Approximately 50 million people living in the United States either lack health insurance entirely or are inadeq
The Swahili culture was a. influenced in part by Islam. b. destroyed by European invaders. c. on the West African coast. d. unable to last to modern times. Plea
Which Kelvin temperature is equal to 200.°C? A)-73 K B) 73 K C) 200. K D) 473K
which is an example of quantitative data? A.) the number of golfers who use Callaway clubs B.) the scores of the golfers who use callaway clubs C.) the rating t
This excerpts best supports the conclusion that Odysseus is
GDP is adjusted for inflation bias computed in different years using a common set of fixed base-period prices. True False
can someone help me learn linear equations​
The cartoon JOIN, or D I E. served as(1) Ben Franklin's appeal to the colonies to unite against the British authority(2) Ben Franklin's appeal to the colonies t