in java
Write a JAVA application which has 3 methods. The main methodinvokes 2 other methods, namely: doAddition() and doSubtraction().Both these methods should prompt the user to enter 2 numbers. Thefirst method should add the two numbers and the second shouldsubtract the two numbers entered. The answers should be displayedto the screen. The program should end with a message: “The End”
in java Write a JAVA application which has 3 methods. The main method invokes 2 other methods, namely: doAddition() and
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am