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

Amendment scenarios
Given two integer variables distance and speed, write an expression that divides distance by speed using floating point arithmetic, i.e. a fractional result sho
Phishing attacks are part of what percentage of cyberattacks?
Help urgently! You need to do the tasks (a-c). Thank you so much!
Which of the following statements best exemplifies how society as a whole benefits from ethical behavior? __________ A. Consumers are willing to pay more for a
Write the following numbers in decimal form. (Note: Some of these numbers have been rounded.) The width of a pixel on a smartphone is 7.8 × 10^−2 mm
In what ways did the American revolution function as a civil war?
CAN SOMEONE HELP, need this done
solve and graph 30 is less than or equal to 150
Assume running consumes 91 calories per mile. If you run 8-minute miles, what is your average power output, in watts, during a 2-hour run?