Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Prepare a simple calculator

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

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
parameter.

How can I prepare such program.

Share: 

 

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.




Tagged: