Results 1 to 3 of 3
  1. #1
    Katniss is offline Member
    Join Date
    Oct 2012
    Posts
    4
    Rep Power
    0

    Default Easiest way to write this program,please help !

    Hi !

    I have to write the following program,and I was wondering what would the easiest methods be to use,I was thinking importing a text file in an array ?

    Create a simple program in which information from the logbook will be typed into the computer program and it calculates the salary of each driver/employee.

    The program should also notify the user when an unrealistic amount of km was driven, for example more than 500km.

    Thanks in advance

  2. #2
    Katniss is offline Member
    Join Date
    Oct 2012
    Posts
    4
    Rep Power
    0

    Default Re: Easiest way to write this program,please help !

    Im not looking for a full program,just an idea for what methods to use please

  3. #3
    behedwin is offline Member
    Join Date
    Oct 2012
    Posts
    26
    Rep Power
    0

    Default Re: Easiest way to write this program,please help !

    i hardly know much java so i can give you any real help...

    but for my own sake ill just break your assignment down :)
    1. you want a input, user writes data into the program (from logbook to program).
    that seems to be one method.

    2. method two would be to take the data that user put in and calculate it via a math formula.

    3. either as its own method or in the input method a if statement or something to be activated when unrealistic high number is being inputted...

    thats how i read the text.
    then exactly what kind of code/statements to use i dont really know yet.

    good luck.

Similar Threads

  1. Easiest Way to Write to File on a Server?
    By atomant in forum New To Java
    Replies: 11
    Last Post: 04-29-2012, 01:48 PM
  2. Easiest/Best way to achieve this
    By Nanomech in forum New To Java
    Replies: 2
    Last Post: 12-19-2011, 06:50 AM
  3. Replies: 7
    Last Post: 11-30-2011, 07:58 PM
  4. easiest ide to install
    By ishango in forum New To Java
    Replies: 5
    Last Post: 03-16-2011, 01:50 PM
  5. Easiest way to convert String to StringBuffer
    By unideal in forum New To Java
    Replies: 4
    Last Post: 12-13-2009, 01:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •