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

The square root of 617 is between which two numbers?
Identify the like terms. 9x, 10y, –9y,  10   A. 9x and 10
Why did immigrants tend to group together in cities?
An unbalanced force of 25 N, E, is applied to a 12-kg mass. What is the acceleration given to the mass?
how far away is all 9 planets from the sun
What's the value of pi?
Find the distance between two parallel lines: x = 11 and x = 5.
Which sign is the less sign and which one is the greater sign (can someone please tell me I really need help! and I never understand the signs!) is this greater
What is twenty percent off 600 hundred pounds
It is likely that Earth could lose half of its species in the next ____________ years. a. 50 b. 100 c. 500 d. 1000