Thread: House Calculator for my project

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    2

    House Calculator for my project

    Hello guys,

    I am having problems with solving an issue which is finding a suitable equation for gas and water consumption, tried to find a suitable equation for my calculator project but no luck....i want to use something similar to this:-

    Power = 2400watt/1000 x 4hours x 13.94cents = $1.34
    Gas = ?
    Water = ?
    but for gas and water, if anyone got answers to this kind of problem please reply back would be appreciated. Thank you.
    Last edited by Abdallah234; 10-11-2010 at 07:00 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Consider volume - say cubic metres.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Pull out the utility bills, I'm sure the method they use will be a good start

  4. #4
    Registered User
    Join Date
    Oct 2010
    Posts
    2
    mm the Utility Bills actually came out to be quite useful..many thanks for that Fordy....i might have questions later on but at the moment its all fixed

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 09:05 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. Dynamic Binding
    By gpr1me in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2006, 09:01 AM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM