2. Complete The Program
CLS
PRINT ''Enter two numbers''
INPUT ________
________= A+B
_______= A*B
Print "the sum of two numbers =":S
Print "the product of two numbers"
________
Answers
Answered by
3
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
I gave two answers because you haven't gave the variable after Print "the product of two numbers" which should be ;p and the second one because to end the Qbasic program a END command is required. I was actually confused so see your question and the one that is not given write it.
Hope this helped you and if you need help related to this feel free to comment me down....
Similar questions