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

why does food stuck in the esophagus cause breathing difficulities
Marci finds the difference of 431-249 first she estimates using compatible numbers.she find 425-250=175 then she find the difference is 182 do you agree with Ma
Need help answering these questions thanks
Who founded Volkswagen?
Which is one reason why this expression is equal to 0 -3.08+3.08/3.08•4.66
If you are involved in a collision, _____. A. leave and call the police B. stop and remain calm C. only call 911 if one of your passengers is injured D. cal
How does the structure of an amino acid relate to it’s function in cellular process
write a letter to your aunt in 450 words thanking her for the gift she brought on your birthday​
What is Hysteresis loss
State legislatures can pass laws and _______ and ________ the executive and judicial branches.​