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

HELP YOU WILL GET 30 POINTS ASAP MY GRADE IS ON THE LINE AND YOU WILL GET BRAINLIST!!!! Write a paragraph that lists the components of formal writing and descri
What is the answer to this question
What was the effect of Emperor Constantine’s religious conversion? A. Rome became the center of Christianity in the world. B. Christianity became the second rel
Pls help! What is the value of X?
R. C. Barker makes purchasing decisions for his company. One product that he buys costs $50 per unit when the order quantity is less than 500. When the quantity
PLEASE HELP!!!! I NEED IT
What was the lasting impact of William the Conqueror's rule in England?
What is a gene? A) a section of a protein that codes for DNA B) The alternate version of a trait C) The visible trait in the F1 generation D) A section of DN th
Determine proper classification (LO11-1) Analysis of an income statement, balance sheet, and additional information from the accounting records of Gadgets, Inc.
find the distance between the coordinates (-2,-3) and (2,-4) giving your answer to 3 significant figures.