Results 1 to 2 of 2

Thread: little help

  1. #1
    jls7168 is offline Member
    Join Date
    Nov 2008
    Posts
    9
    Rep Power
    0

    Default little help

    I need to make a program that calculates cost for internet usage. The package costs 9.95 for 10 hours and is $2 extra per hour over that. I need help on how to add the extra hours to the total cost. Any help is greatly appreciated.

    Thanks

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Is this a Java related question, not right? First of all you need a mathematical model to evaluate this. Just think if you have 12 hour usage, how did you calculate the cost.

Posting Permissions

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