Question
Asked by:
$5.00 Java Calculator Program
- From Computer-Science: Programming-Methods
- Closed, but you can still post tutorials
- Due on Dec. 17, 2009
- Asked on Dec. 16, 2009 at 09:03:26AM
Q:Write a program that can be used to perform operations on decimal numbers. (Note: If division by zero occurs with values of the int data type, the program throws a division by zero exception. However, if you divide a decimal number by zero, Java does not throw the division by zero exception; it returns the answer as infinity. However, if division by zero occurs, your calculator program must output the message ERROR:/byzero).



