Question: Question 5 Write a whole program to achieve the following: (a) Write a program named calculateNumber whose main class get two integer variables from user.
| Question 5 |
| Write a whole program to achieve the following: (a) Write a program named calculateNumber whose main class get two integer variables from user. Then, assign any values to the variables. Use static to pass both variables to methods names sum() and difference(). |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
