<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>My stellar stream by Maziani Sabudin</title>
      <link>https://padlet.com/maziani1963/jw9kcv908dje</link>
      <description>Made with a wish on a star</description>
      <language>en-us</language>
      <pubDate>2018-10-02 04:37:29 UTC</pubDate>
      <lastBuildDate>2018-10-02 04:38:47 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>gsgdgs</title>
         <author>maziani1963</author>
         <link>https://padlet.com/maziani1963/jw9kcv908dje/wish/287938622</link>
         <description><![CDATA[<div>jsbdjbdd</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-10-02 04:38:04 UTC</pubDate>
         <guid>https://padlet.com/maziani1963/jw9kcv908dje/wish/287938622</guid>
      </item>
      <item>
         <title></title>
         <author>maziani1963</author>
         <link>https://padlet.com/maziani1963/jw9kcv908dje/wish/287938706</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>&nbsp;&nbsp;<br>&nbsp; &nbsp; float usage;<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; float electricBill;<br>&nbsp; &nbsp;&nbsp;<br>	// get input from user as long as the input is invalid (i.e, negative)<br>&nbsp; &nbsp; do {<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "Enter the usage in KWH: " ;<br>&nbsp; &nbsp; &nbsp; &nbsp; cin &gt;&gt; usage;<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if (usage &lt; 0) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "Usage cannot be negative, please enter again" &lt;&lt; endl;<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; } while (usage &lt; 0);<br>&nbsp; &nbsp; &nbsp; &nbsp;<br>	// determining the rate<br>&nbsp; &nbsp; if (usage &gt;= 2000) {<br>		electricBill = (999 * 0.6) + (500 * 0.45) + (500 * 0.4) + ((usage - 1999) * (0.35));<br>&nbsp; &nbsp; } else if (usage &gt;= 1500) {<br>&nbsp; &nbsp; &nbsp; &nbsp; electricBill = (999 * 0.6) + (500 * 0.45) + ((usage - 1499) * (0.4));<br>&nbsp; &nbsp; } else if (usage &gt;= 1000) {<br>&nbsp; &nbsp; &nbsp; &nbsp; electricBill = (999 * 0.6) + ((usage - 999) * 0.45);<br>&nbsp; &nbsp; } else {<br>&nbsp; &nbsp; &nbsp; &nbsp; electricBill = usage * 0.6;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; cout &lt;&lt; "The electric bill is RM " &lt;&lt; electricBill &lt;&lt; endl;<br>&nbsp; &nbsp;&nbsp;<br><br>&nbsp; &nbsp; return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-10-02 04:38:47 UTC</pubDate>
         <guid>https://padlet.com/maziani1963/jw9kcv908dje/wish/287938706</guid>
      </item>
   </channel>
</rss>
