<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'URGENT HELP' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'URGENT HELP' posted on the 'C/C++ on Linux/Unix' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 00:54:20 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 00:54:20 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>URGENT HELP</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/425906/425906/urgent-help/</link>
      <description>KING KONG ELECTRICITY AUTHORITY&lt;br /&gt;
BILL CALCULATOR&lt;br /&gt;
You are required to develop a script that will enable KING KONG ELECTRICITY AUTHORITY to&lt;br /&gt;
calculate customer bills based on their meter readings.&lt;br /&gt;
The customers are categorized into the following categories:&lt;br /&gt;
 Residential customers&lt;br /&gt;
 Commercial customers&lt;br /&gt;
Residential tariff rates&lt;br /&gt;
If the units of power consumed is less than or equal to (&amp;lt;=) 75 kW per month, the government&lt;br /&gt;
will subsidize at the rate of 17.64 cents per unit for all consumptions equal to or less than&lt;br /&gt;
75kW per month and in effect the customer will pay 17.20 cents per unit.&lt;br /&gt;
If the units of power consumed are greater than (&amp;gt;) 75 kW per month, the user is not entitled&lt;br /&gt;
for government subsidy. All consumptions will be charged at the rate of 34.84 cents per unit.&lt;br /&gt;
Commercial tariff rates&lt;br /&gt;
If the units of power consumed is less than or equal to (&amp;lt;=) 14,999 kW per month, the&lt;br /&gt;
consumer is charged at 42 cents per unit. The excess units will be charged at 44 cents per unit&lt;br /&gt;
and added to the overall total.&lt;br /&gt;
Program flow:&lt;br /&gt;
The following are the inputs to the program:&lt;br /&gt;
1. Client name&lt;br /&gt;
2. Client address&lt;br /&gt;
3. Client category (“R” for residential or “C” for commercial)&lt;br /&gt;
4. Date of meter reading&lt;br /&gt;
5. Period of meter reading (start month – end month)&lt;br /&gt;
6. Previous meter reading&lt;br /&gt;
7. Current meter reading (30 days)&lt;br /&gt;
The following calculations should be done:&lt;br /&gt;
1. Units consumed (current meter reading – previous meter reading)&lt;br /&gt;
2. Total billing (VEP)&lt;br /&gt;
3. Total VAT @ 15%&lt;br /&gt;
4. Total billing (Total billing (VEP) + VAT)..&lt;br /&gt;
&lt;br /&gt;
PLEASE HELP ME IN DOING THIS AS IM NEW TO LINUX&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/425906/425906/urgent-help/</guid>
      <pubDate>Sun, 20 Nov 2011 18:17:45 -0700</pubDate>
      <category>C/C++ on Linux/Unix</category>
    </item>
  </channel>
</rss>