Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Need urgent help in assignment of JAVA, any idea suggestion plz

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need urgent help in assignment of JAVA, any idea suggestion plz

    I need help in my JAVA assignment plz. kindly guide me any technique/idea to do the following. m not at advance level of programming. i already have the initial part of my assignment completed which is to make a simple command line calculator. this is the next part.

    The program should take function definitions and those definitions can be used in future expressions
    for eg:

    def add(x,y)=(x+y)
    >>> ok
    def inv(x)=1/x
    >>> ok
    inv(add(2,2))
    >>> ans : 0.25

    Also four additional commands:
    show; to prints all de?nitions on screen
    save flename; to save all defnitions in a fle
    load flename; to load all definitions from a fle
    delete funname; to delete the defnition corresponding to the function named funname


  2. #2
    Junior Member
    Join Date
    Nov 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need urgent help in assignment of JAVA, any idea suggestion plz

    Its a good assignment, I hope I could help you on this.

    Let me know what are the options you have tried. What is your approach? Did you start writing some code?

    [ Design Pattern Books | Debug Java on Linux | JDBC Questions ]

  3. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need urgent help in assignment of JAVA, any idea suggestion plz

    well, actually there is also a first part in which we have already implemented a command line calculator. in that part we are taking input from command line and parsing it making tree, using grammer. in short a user inputs an expression like (2+2)/5 and our calculator calculated the output and shows it. now we are required to put more functionality which is in 2nd part, the one which i am asking for.

Similar Threads

  1. nid help for my assignment~urgent
    By x3ahbi in forum What's Wrong With My Code?
    Replies: 2
    Last Post: July 5th, 2010, 02:55 AM
  2. Urgent need a java regex pattern
    By mallikarjun_sg in forum Java Theory & Questions
    Replies: 1
    Last Post: May 6th, 2010, 05:51 AM
  3. [URGENT] - Problem accessing web sites with Java!
    By jguilhermemv in forum Java Networking
    Replies: 0
    Last Post: March 5th, 2010, 04:43 PM
  4. Replies: 1
    Last Post: February 22nd, 2010, 08:20 AM
  5. Urgent Help needed with java codes
    By makarov in forum Java Theory & Questions
    Replies: 0
    Last Post: November 13th, 2009, 07:23 AM