18usb10019 18usb10019
  • 22-02-2022
  • Computers and Technology
contestada

Write a program in QBasic to accept any three numbers and then find out the smallest number between
them.

Respuesta :

PreetKumarSangdot
PreetKumarSangdot PreetKumarSangdot
  • 22-02-2022

Answer:

CLS

INPUT "Enter the first number"; a

INPUT "Enter the second number"; b

INPUT "Enter the third number"; c

IF a < b AND a < c THEN

PRINT "The smallest number is "; a

ELSEIF b < a AND b < c THEN

PRINT "The smallest number is "; b

ELSE

PRINT "The smallest number is "; c

END IF

END

hope this clears your queries

mark my answer as the brainliest if you found it useful

thank you, have a fantabulous day !!

Answer Link

Otras preguntas

How can I solve this problem?
Ou push a box with a force of 80 n. if the net force on the box is 50 n, what is the force on the box due to sliding friction?
What is the greatest common factor for 130
In a mixture of pretzels to corn chips the ratio of pretzels to corn chips is 3 to 7. How many pretzels will be in a mixture that has 100 total pieces in it?
Why does the temperature of the ocean water remain relatively constant, despite large fluctuations in air temperature
The hormone released by the pineal gland that reduces body temperature and prepares you for sleep is
what can affect the properties of a substance?
When formally addressing a woman, you might use ____.?
When you connect a work of fiction to its historical context, you _____. research a similar historical event and note the differences between the two imagine yo
What was the mediterranean sea called in ancient greece?