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 one gives the answer will be marked as the brainliest.......The size of the angle marked D in the diagram is. ​
PLEASE HELP Which of the sets of ordered pairs represents a function? A = {(2, −2), (5, −5), (−2, 2), (−5, 5)} B = {(4, 2), (4, −2), (9, 3), (9, −3)} a. Only A
Can I get help with this problem?
Use the substitution method to solve the system of equations. choose the correct ordered pair. ​
b. A string is wrapped around a pulley of radius 0.05 m and moment of inertia 0.2 kg  m2. If the string is pulled with a force F, the resulting angular acceler
Which of the following can be added without altering any of the fractions?
information about coniferous forest
how are ionic compounds and covalent molecules different
A compound consisting of atoms of small atomic mass is more likely to require what
Select the only true statement from the following. Question 17 options: Opposite numbers have the same sign and are the same distance from zero. Opposite number