WAP to input two numbers and print its sum, difference and product
Answers
Answered by
0
Answer:
10 CLS
20 s=0
30 p=1
40 INPUT "Enter 2 numbers"; A,B
50 s= A + B
60 p= A * B
70 IF A > B Then
80 d= A - B
90 Else
100 d= B - A
110 Print "The sum = ";s
120 Print "The difference = ";d
130 Print "The product = ";p
140 End IF
150 End
HOPE IT HELPS
PLS MARK BRAINLIEST
Similar questions