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

Quadrilateral ABCD is dilated by a scale factor of 1 over 3 centered around (1, 2). quadrilateral ABCD shown on coordinate plane with coordinates at 1 comma 2,
PLEASE HELP WILL GIVE BRAINLIEST AND 5.0 RATING
What is sin(A)? 13 12 A 5 sin(A) =
can someone please help me​
PART B: Which detail from the text best supports the answer to Part A? A "So that when you have an island now of, I don't know, something like 10 million people
L2 M M 16. Which statement is true regarding the process-control relay ladder diagram shown in the figure? O A. With the temperature switch closed, the motor wi
You are standing in front of a pool of water and see your face in the water but when a stone is dropped into the pool you no more see your faceExplain why plea
Please help I need to find the answer for the graph
WILL MARK BRAINLIEST PLEASE HELPGraph. f(x)=2|x+1|−1 Use the Ray tool to graph the absolute value function.
Find all of the roots of the equation. - X4 - 6x2 + 8 = 0 a. +1,2 b. +1, +2 C. 1, +2 d. 1,2