Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Prepare a simple calculator

  Asked By: Kenneth    Date: Sep 30    Category: Java    Views: 1163

I have been learning java only for two weeks. I have to prepare a
simple calculator. If the name of the file "calc 3 4 +" then the
calculator must show the result 7. But if one of these parameters
are missing then the program must shut down and must give an error
like missing parameter. Also if the name of the document is "calc 3
4 5" then program must again show down and must state wrong

How can I prepare such program.



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Prepare a simple calculator Or get search suggestion and latest updates.