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

How did the depression affect women and children?
why can parents who are heterozygous for type a and type b blood have children with any of the four human blood types?
How did Alexander the Great rise to power and how did he spread Greek culture to other lands?
How did Alexander the Great rise to power and how did he spread Greek culture to other lands?
What is a communicable disease ?
Why did president Washington want the United States to remain neutral
when we look at a leaf, we see the colors of light that are reflected off its surface. how does the relatively low flow of oxygen in green light?
What culture believes health is harmony between man and nature?
what is the simplest square root of 1345? no decimals please
True or False along a divergent boundary, two plates slip past each other,moving in opposite directions.