Write a program in Qbasic to calculate and display the sum of all numbers from 20 to 2.
Answers
Answered by
1
Answer:
CLS
PRINT "Enter two numbers"
INPUT A,B
S = A+B
P = A*B
PRINT "The sum of two numbers ="; S
PRINT "The product of two numbers ="; P
END
Similar questions