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

three things scientists learned about earth in beginning of 1800s
How do you pronounce the letter "X" in Spanish?
three things scientists learned about earth in beginning of 1800s
how many rectangular prism can you make out of 20 snap of cubes
Factor the polynomial 6b^2-17b+10
Adam tried to compute the average of his 7 test scores. He mistakenly divided the correct sum of all of his test scores by 6, which yielded 84. What is Adam’s c
What is 0.8% written as a decimal
find an equation of the tangent line to the circle x^2 +y^2=24 at the point (-2 square root 5, 2).
Three individuals form a partnership and agree too divide the profits equally. X invest -9,000 , Y invest 7,000, Z invest 4,000. How much less does X receive if
If 2x+z=2y and 2x+2y+z=20 what is the value of y?