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

....................................
Which of the following is true of Professor Jared Diamond's views regarding the influence of geography on history and cultural values? 1) The Sahara was a busy
a) 2x + 10 = 18 c) 5a - 12 = 23 b) 3(x - 1) = 6 d) 5x = -75​
how much large gravel is needed to cover 290 meters if the large gravel is 29.62 tons per meter
what was the most importnat result of the spanish american war
The expected number of empty bins as r and n go to infinity is a) 0 b) 1 c) [infinity] d) 1/2
What is bondage and discipline? (B-D)
How was the development of the steam engine in response to a fuel shortage?
what is the equivalent ratio in the simplest terms for 16:8
Bonjour je dois trouver 11 mot qui qualifie ou sont présent dans la nouvelle le portrait ovale et je dois dire pourquoi je les ai choisi ( mots interdits portra