Computer Science, asked by dibishaarnavi, 6 hours ago

Write a program in QBASIC to accept two numbers and find the sum of this if the summation value is even then find the product of two numbers.​

Answers

Answered by rishav568
1

Let the two numbers be 43 and 57

So the program adding these numbers in QBASIC is as follows :

CLS

A = 43

B = 57

PRINT "The sum of A" "and " B "is"A+B

END

WHEN YOU WILL EXECUTE THIS PROGRAM THE RESULT WILL BE AS FOLLOWS :

The sum of 43 and 57 is 100.

Hope it helpful to you.

Thank you

Similar questions