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

Can someone use the word delta in a sentence
find an equivalent expression without parentheses -(50x-15y+15)=
(10y^3+20y^2+55y)/5y
Which equation has the same y-intercept as y=4x-3?a. y-3=x              b. y=8x+3    c. 3-y=4x      d. y=-3+8xWhich of the following is the equation of the line
Find Domain of the functionsquare root of (x-8)/x(x-9)
Historians of china have traditionally dated the beginning of Chinese civilization to the founding of the what??
Marika and Freddy sold 70 homes for Ron Realty. If Marika sold 2.5 times as many homes as Freddy, how many homes did each sell?
Can someone use the word delta in a sentence
Prove that (x^5)-(x^2)+2x +3=0 has at least one real root. Prove that x=cosx has at least one solution.
Which equation has the same y-intercept as y=4x-3?a. y-3=x              b. y=8x+3    c. 3-y=4x      d. y=-3+8xWhich of the following is the equation of the line