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 much do you think the president's personal beliefs should shape national policy
The first inhabitants of Oceania are believed to have come from which continent? Europe Asia Africa South America
On June 9, 1983, the lower part of the Variegated Glacier in Alaska was observed to be moving at a rate of 64 m per day. What is this speed in kilometers per ho
Every mineral is an element or compound given example of a mineral that is an element and a mineral that is compound
round each decimals to the nearest whole number 6.7
Number pattern 1,1,2,6,24,120
when did the holocaust end
English is not a phonetic language. True False
2 decimals that are equivalent to the given decimal of 2.200
Which sentence uses punctuation correctly? a. Beneath the tall, tree the family ate a picnic of fruit and muffins. b. Beneath the tall tree the family ate, a