Write a program in QBASIC and draw the flowchart to
input a number and check the sum and product of digits
of that number is equal or not.
Answers
Answered by
2
Answer:
Explanation:
Cls
Input "ENTER A NUMBER"; A
Input "ENTER ANOTHER NUMBER"; B
Let ANS = 0
If A > B Then ANS = A - B Else ANS = B - A
Print "ANSWER = ";ANS
End
output
ENTER A NUMBER? 70
ENTER ANOTHER NUMBER? 20
ANSWER = 50
Similar questions