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

3) Y-3=4(n=2)*to draw graph​​​​
Why should drinking and driving be banned persuasive essay
Find the unknown angle measure. A -50° b - 180° c - 220° d - 40°
What the answer now fast
Please help also with the questions on the picture, it's really urgent too...... Thank you✨​
Use the distributive property to remove the parentheses -5(2x-3w-6)
core: 0 of 1 pt9 of 9 (0 complete)HW Score: 0%, 0 of 9 p.7.29Skill BuilderQuestion HelpThe supply function and demand function for the sale of a certain type of
What are the next three terms in the sequence -27, -19, -11, -3, 5, ...?
Sally bought some beads and gave half of them to Tania.Tania bought some stickers and gave half of them to Sally.Tania gave away 16 beads and Sally gave away 29
Find the balance in Asturos savings account if he deposits $2100 at 3.5% simple interest for 2 years