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

What does depict mean
do any 1 know it? please tell me you do
Explain how you know that7/13 is greater than one third but is less than two thirds
what is the role of the king in Shakespeare's time? (atleast 3)
Good mental health is the ability to __________. a. express feelings appropriately b. allow daily situations to cause excessive anxiety c. recognize and cope
A supervisor makes approval of leave contingent on granting sexual favors. This type of sexual harassment is called_________? a. Carnal knowledge b. Quid pro
Which of the following statements incorrectly depicts the scientific method? A. Hypotheses are tested through experimentation and will be supported or refuted
Oscar is making vegetable soup. He uses 9 carrots for every 5 parsnips. Write down the ratio of carrots to parsnips by filling in the missing numbers. : Osc
The distance between stars is typically measured in
X^3+216=0 solve the equation , try your solutions