Simple Java program that performs arithmetic. The program is the solution to Deitel’s Java How to Program (9th Edition) Chapter 2 Exercise 2.15: Write an application that asks the user to enter two integers, obtains them from the user and prints their sum, product, difference and quotient (division).
Java arithmetic program
Sample program run
 

Write A Comment