Question: Give an example of java program which will take input as 2 numbers (INT first, INT second) and print 4 outputs (add, subtract, multiply, divide)
Give an example of java program which will take input as 2 numbers (INT first, INT second) and print 4 outputs (add, subtract, multiply, divide) applying following functions:
a = first + second;
s= first - second;
m= first * second;
d = first / second;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
