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 fallowing expressions represents the distance between -4 and 1
At the top of a hill a roller coaster has gravitational potential energy due to its position. What happend to this potential energy as the roller coaster speeds
Jose has been asked to conduct a needs assessment for an operational department. What is the first logical step he should take?
If you were to place a sugar syrup in the upper bowl of a double boiler, it will eventually crystallize, but never caramelize. why?
how did Thabo mbeki used language to articulate the African identify.​
Solve the following quadratic equation for all values of a in simplest form. 5(x − 6)² — 29 = −19
What would be the effect of a decrease in government taxes on a good's supply curve, ceteris paribus?
Which sentence best states how the character of Hayashi develops over the course of the text? The Reincarnation of Tama by Yei Theodora Ozaki (excerpt) A. Hay
Find the value of 11 P 3
The lecture emphasized the importance of understand our worldview as a counselor in choosing the model of counseling we use. what can we say from the lecture?