PLEASE READ BEFORE POSTING: Hello Forumites! In order to help keep the Forum a useful, safe and friendly place for our users, discussions around non-MoneySaving matters are not permitted per the Forum rules. While we understand that mentioning house prices may sometimes be relevant to a user's specific MoneySaving situation, we ask that you please avoid veering into broad, general debates about the market, the economy and politics, as these can unfortunately lead to abusive or hateful behaviour. Threads that are found to have derailed into wider discussions may be removed. Users who repeatedly disregard this may have their Forum account banned. Please also avoid posting personally identifiable information, including links to your own online property listing which may reveal your address. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Rented Accomodation - Housemate left light on!!!!

Options
2

Comments

  • RHemmings
    RHemmings Posts: 4,894 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    Saying that I'm a computing student, so I feel I should have known better! Ah well.
    #include <stdio.h>
    
    main()
    !!
         int days;
         int wattage;
         int pperunit;
    
         int cost;
    
         printf( "Enter the number of days the sod will be away: " );
         scanf( "&#37;d", &days );
    
         printf( "Enter the wattage of the bulb: " );
         scanf( "%d", &wattage );
    
         printf( "Enter the cost per unit (average) in pence: " );
         scanf( "%d", &pperunit );
    
         cost = days * 24 * pperunit * wattage / 1000;
    
         if ( cost % 100 < 10 ) !!
              printf( "The cost will be %d pence, or &#163;%d.0%d\n",
            cost, cost / 100, cost % 100 );
         }
         else !!
              printf( "The cost will be %d pence, or &#163;%d.%d\n",
                      cost, cost / 100, cost % 100 );
         }
    }
    
    Edit: The forum is changing my open braces. But a computing student should be able to work it out.
  • googler
    googler Posts: 16,103 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Combo Breaker
    Alternatively,

    RUN QUERY_HOUSEMATE
    RUN TEST_REACTION
    IF HOUSEMATE_SHOWS_REMORSE
    RUN FORGIVE_AND_FORGET
    ELSE
    RUN KICK_HOUSEMATES_BUTT
    RUN GET_MONEY_FROM_HOUSEMATE
    END
  • QTPie
    QTPie Posts: 1,373 Forumite
    Some SERIOUS geeks around here... :D

    QT
  • poppysarah
    poppysarah Posts: 11,522 Forumite
    Wow, now I feel stupid!

    Ah well. Had no idea it was that cheap really.


    Cheap? It's not cheap and it's an utter waste.
    Get it switched off. Are you sure they're not dead in there?
  • Leaving a tap on is cheap.
    It costs about 1p per thousand litres when you use a metered supply..
    I have been in restuarants which charge £3 per litre for bottled water.
    Just shedding some light on another utility supply.

    .............................Substitute £1 for 1p in line two


    .....................................Thank you PasturesNew
    ...............................I have put my clock back....... Kcolc ym
  • PasturesNew
    PasturesNew Posts: 70,698 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    You should feel stupid, I answered it and I left school with 2 O levels: English and French :P
  • PasturesNew
    PasturesNew Posts: 70,698 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    Leaving a tap on is cheap.
    It costs about 1p per thousand litres when you use a metered supply..
    I have been in restuarants which charge £3 per litre for bottled water.
    Just shedding some light on another utility supply.
    1,000 litres is 1 cubic metre = the amount a water bill is measured by.

    At my last house the price to get the water in AND out on my meter was £9/1,000 litres.

    You pay for water in - and they make a judgement on sewage based on how much water you receive.
  • HappyMJ
    HappyMJ Posts: 21,115 Forumite
    10,000 Posts Combo Breaker
    1,000 litres is 1 cubic metre = the amount a water bill is measured by.

    At my last house the price to get the water in AND out on my meter was £9/1,000 litres.

    You pay for water in - and they make a judgement on sewage based on how much water you receive.

    You beat me to it. I wish it was 1p/1000 litres but it's actually 1p for each litre...at least round here in the midlands it is.
    :footie:
    :p Regular savers earn 6% interest (HSBC, First Direct, M&S) :p Loans cost 2.9% per year (Nationwide) = FREE money. :p
  • Loving the thread I've started even if it is based on my own inexperience *cough* stupidity *cough*

    By the way RHemmings, who writes in C these days. Pfft. I'm doing my final year project in c# ;) Most the hard stuff's already done!

    Landlord came round and turned it off. Turns out he's not dead in the room, but has really gone home!
    [FONT=Arial, Helvetica, sans-serif]"The internet is a great way to get on the net."
    - Bob Dole, Republican presidential candidate
    [/FONT]
  • RHemmings
    RHemmings Posts: 4,894 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    Loving the thread I've started even if it is based on my own inexperience *cough* stupidity *cough*

    By the way RHemmings, who writes in C these days. Pfft. I'm doing my final year project in c# ;) Most the hard stuff's already done!

    Landlord came round and turned it off. Turns out he's not dead in the room, but has really gone home!

    People write in C when real-time performance is necessary.

    As for C#, why use a second rate Java when the original is available?
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351.2K Banking & Borrowing
  • 253.2K Reduce Debt & Boost Income
  • 453.7K Spending & Discounts
  • 244.2K Work, Benefits & Business
  • 599.3K Mortgages, Homes & Bills
  • 177K Life & Family
  • 257.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.