|
General Details
|
|
Java
|
|
Posted 2.84 Years Ago
|
|
499 Views
|
|
Received 0 Ratings
|
|
DosCalculator
Description
Runs in the command promt. Allows for basic mathematical operations such as addition, subtraction, multiplication and division.
My first "real" application in Java
Technical
You need a Java compiler to compile this source.
Works on any OS with support for Java
Source Code
Comments
| Please login to post comments. |
|
|
ah yes, the calculator :)
I have a very poor code similar to this in C++ on Coder Profile I think!
Have you tried using functions to tidy the code up a bit?
Maybe add some error handling if possible (e.g. what would the system do if I typed "3fh" as a number?!)...It would greatly help your learning of the language and improve your coding skills/practice.
|
|
|
Glad you like it, I've been thinking of building on this one a bit more to add more features. (exponentiation, percentOf etc...)
|
|
|
Lol I remember making one of these when I first started c++ :D
Nice calculator btw!
|
More "Java" Source Codes By This Author
Recently Posted "Java" Source Codes
Recently Rated "Java" Source Codes
|