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

find the simplified form of each expression (-2)^-5 (-8.3)^0 -(10)^-1 1/a^-2
(b) 一2-+-311X+5 ; X--2 X2+3.X_-10
What determines the inherited traits an organism has? A.the proteins produced by a cell B.the number of chromosomes in a cell C.the size of the chromosomes D.t
The organelle that aids in cell division is centrioles mitochondria vacuole nucleus
Write an expression that is equivalent to three over five (3y + 15).
What is an accurate meaning of this quote? Cheif Dan George > Quotes > Quotable Quote “If you talk to the animals they will talk with you and you will kno
what does abrrevation mean
Calculate the area of the following figure correct to 2 decimal places if can show or explain work
Identify the community project and explain the services offered in addressing social or environmental issues in a community of your own choice
Bob weighs 80 pounds. He ran up the steps which rose 14 feet. Fred weighs 110 pounds. He ran up the same steps as Bob. If both boys reached the top of the 14-fo