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

PLEASE HELP I GIVE THANKS
Which theater is considered Shakespeare's theater? A. The Swan B. The Globe C. The Rose D. The Stage
What is the domain of the relation {(2, 8), (0, 8), (–1, 5), (–1, 3), (–2, 3)}?
Write expression using the distributive property to find the product of 7 times 63
Which body tissue or organ contains the most mitochondria?
Which of the following is the modern counterpart of the journal and diary? a. A magazine article b. A blog c. A speech d. A newspaper article
what is the percent change from 70 to 56?
What statement best describes a republic?
The sum of three numbers is 84 the second number is 2 times the third the first number is 8 more than the third what are the numbers
a woman lifts a 300 newton child a distance of 1.5 meters in 0.75 seconds. What is her power output in lifting the child?