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
18
Correction (in bold below):
CLS
PRINT ''Enter two numbers''
INPUT ________
INPUT ________
________= A+B
_______= A*B
Print "the sum of two numbers =";S
Print "the product of two numbers" ; P
Program:
CLS
PRINT ''Enter two numbers''
INPUT A
INPUT B
S= A+B
P= A*B
Print "the sum of two numbers =";S
Print "the product of two numbers" ;P
Explanation:
- Since only two values are there A and B will be accepted.
- Since S is the sum of the numbers and so S = A+B.
- Since P is the sum of the numbers and so P=A*B.
Anonymous:
Excellent ✌
Similar questions