Computer Science, asked by Rakshita4736, 8 months ago

Write a program in QBASIC to find SUM,PRODUCT,DIFFERENCE and AVERAGE of 60 and 20

Answers

Answered by piyush4578
0

Answer:

CLS

A= 60

B =20

SUM = A +B

PRODUCT = A * B

DIFFERENCE = A - B

AVERAGE=( A +B)/2

print "The sum is ";

print "The PRODUCT is ";PRODUCT

print "The DIFFERENCE is ";DIFFERENCE

print "The AVERAGE is ";AVERAGE

end

Explanation:

LIKE

COMMENTS

Similar questions