<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Salary EPF In PYTHON by LIM YU JIE Unknown</title>
      <link>https://padlet.com/1181101201/PS_Blended_Learning_2</link>
      <description>Problem Solving-Blended Learning 2</description>
      <language>en-us</language>
      <pubDate>2019-05-03 09:28:43 UTC</pubDate>
      <lastBuildDate>2019-05-09 00:54:32 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>&quot;For&quot; Looping(python)</title>
         <author>1181101201</author>
         <link>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356528806</link>
         <description><![CDATA[<pre><strong>for </strong>i <strong>in </strong>range(1,6):
  name=input(<strong>'%d) What is your name: '</strong>%i)
  hours=int(input(<strong>'Hours Worked: '</strong>))
  rate=25.00
  <strong>if </strong>(hours&gt;40):
    pay=rate*(40+1.5*(hours-40))

  <strong>else</strong>:
    pay=hours*25
  epf=pay*0.11
  grosspay=pay-epf
  i+=1
  print(<strong>'Pay: RM%.2f\n'</strong>%pay)
  print(<strong>'EPF: RM%.2f\n'</strong>%epf)
  print(<strong>'Grosspay: RM%.2f\n'</strong>%grosspay)
print(<strong>"Thank you."</strong>)</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-05-03 09:32:48 UTC</pubDate>
         <guid>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356528806</guid>
      </item>
      <item>
         <title>&quot;while&quot; Looping (python)</title>
         <author>1181101201</author>
         <link>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356797155</link>
         <description><![CDATA[<pre>i=1

<strong>while </strong>(i&lt;=5):
  name=input(<strong>'%d) What is your name: '</strong>%i)
  hours=int(input(<strong>'Hours Worked: '</strong>))
  rate=25.00
  <strong>if </strong>(hours&gt;40):
    pay=rate*(40+1.5*(hours-40))
  <strong>else</strong>:
    pay=hours*25
  epf=pay*0.11
  grosspay=pay-epf
  i+=1
  print(<strong>'Pay: RM%.2f\n'</strong>%pay)
  print(<strong>'EPF: RM%.2f\n'</strong>%epf)
  print(<strong>'Grosspay: RM%.2f\n'</strong>%grosspay)
print(<strong>"Thank you."</strong>)</pre><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-05-04 04:43:39 UTC</pubDate>
         <guid>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356797155</guid>
      </item>
      <item>
         <title>&quot;while&quot; Looping (C++)</title>
         <author>1181101201</author>
         <link>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356799482</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br>#include&lt;iomanip&gt;<br>using namespace std;<br>int main()<br>{<br>     int i=0;<br>    string name;<br>    float hours;<br>    float extra_hours;<br>    const float rate=25.00;<br>    float pay,epf;<br>    <br>    while(i&lt;6)<br>    {<br>    	cout&lt;&lt;endl;<br>    	cout&lt;&lt;"Enter your name: "&lt;&lt;endl;<br>    	cin&gt;&gt;name;<br>    	cout&lt;&lt;"Enter hours work: "&lt;&lt;endl;<br>    	cin&gt;&gt;hours;<br>    	<br>    	if (hours&gt;40)<br>    	{<br>    		extra_hours=hours-40;<br>    		cout&lt;&lt;"Extra hour worked: "&lt;&lt;extra_hours&lt;&lt;endl;<br>    		pay=rate*(40+1.5*(hours-40));<br>    		epf=pay*0.11;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"Income payment: RM "&lt;&lt;pay&lt;&lt;endl;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"EPF payment: RM "&lt;&lt;epf&lt;&lt;endl;<br>    	}<br>    	else<br>	{<br>		pay=hours*rate;<br>    		epf=pay*0.11;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"Income payment: RM "&lt;&lt;pay&lt;&lt;endl;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"EPF payment: RM "&lt;&lt;epf&lt;&lt;endl;<br>    	}<br>    	i++;<br>    }<br>    cout&lt;&lt;"Thank you."&lt;&lt;endl;<br>    return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-05-04 05:51:20 UTC</pubDate>
         <guid>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356799482</guid>
      </item>
      <item>
         <title>&quot;for&quot; Looping (C++)</title>
         <author>1181101201</author>
         <link>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356799488</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br>#include&lt;iomanip&gt;<br>using namespace std;<br><br>int main() <br>{<br>    string name;<br>    float hours;<br>    float extra_hours;<br>    const float rate=25.00;<br>    float pay,epf;<br>    int i;<br>    <br>    for(i=0 ; i&lt;6 ; i++)<br>	{<br>	cout&lt;&lt;endl;<br>    	cout&lt;&lt;"Enter your name: "&lt;&lt;endl;<br>    	cin&gt;&gt;name;<br>    	cout&lt;&lt;"Enter hours work: "&lt;&lt;endl;<br>    	cin&gt;&gt;hours;<br>    	<br>    	if (hours&gt;40)<br>    	{<br>    		extra_hours=hours-40;<br>    		cout&lt;&lt;"Extra hour worked: "&lt;&lt;extra_hours&lt;&lt;endl;<br>    		pay=rate*(40+1.5*(hours-40));<br>    		epf=pay*0.11;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"Income payment: RM "&lt;&lt;pay&lt;&lt;endl;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"EPF payment: RM "&lt;&lt;epf&lt;&lt;endl;<br>    	}<br>    	else<br>	{<br>		pay=hours*rate;<br>    		epf=pay*0.11;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"Income payment: RM "&lt;&lt;pay&lt;&lt;endl;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"EPF payment: RM "&lt;&lt;epf&lt;&lt;endl;<br>    	}<br>    	cout&lt;&lt;"Thank you."&lt;&lt;endl;<br>	}<br>	return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-05-04 05:51:34 UTC</pubDate>
         <guid>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356799488</guid>
      </item>
      <item>
         <title>&quot;do...while&quot; Looping (C++)</title>
         <author>1181101201</author>
         <link>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356799500</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br>#include&lt;iomanip&gt;<br>using namespace std;<br>int main()<br>{<br>    int i=0;<br>    string name;<br>    float hours;<br>    float extra_hours;<br>    const float rate=25.00;<br>    float pay,epf;<br>    do<br>	{<br>	cout&lt;&lt;endl;<br>    	cout&lt;&lt;"Enter your name: "&lt;&lt;endl;<br>    	cin&gt;&gt;name;<br>    	cout&lt;&lt;"Enter hours work: "&lt;&lt;endl;<br>    	cin&gt;&gt;hours;<br>    	if (hours&gt;40)<br>    	{<br>    		extra_hours=hours-40;<br>    		cout&lt;&lt;"Extra hour worked: "&lt;&lt;extra_hours&lt;&lt;endl;<br>    		pay=rate*(40+1.5*(hours-40));<br>    		epf=pay*0.11;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"Income payment: RM "&lt;&lt;pay&lt;&lt;endl;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"EPF payment: RM "&lt;&lt;epf&lt;&lt;endl;<br>    	}<br>    	else<br>	{<br>		pay=hours*rate;<br>    		epf=pay*0.11;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"Income payment: RM "&lt;&lt;pay&lt;&lt;endl;<br>       		cout&lt;&lt;fixed&lt;&lt;setprecision(2)&lt;&lt;"EPF payment: RM "&lt;&lt;epf&lt;&lt;endl;<br>    	}<br>		i++;<br>    }while (i&lt;6);<br>	cout&lt;&lt;"Thank you."&lt;&lt;endl;<br>    return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-05-04 05:51:49 UTC</pubDate>
         <guid>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/356799500</guid>
      </item>
      <item>
         <title>Group members:</title>
         <author>1181101201</author>
         <link>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/357947174</link>
         <description><![CDATA[<div>Lim Yu Jie 1181101201 T2<br>Nur Sarah Najihah binti NorAlahyadi 1181101195 T2<br>Loong Jiehyi  1181101768 T3 <br>Tey Yee Yang Brandon 1181100671 T1<br>Ong Han Bin 1181100721 T1</div>]]></description>
         <enclosure url="" />
         <pubDate>2019-05-08 08:25:55 UTC</pubDate>
         <guid>https://padlet.com/1181101201/PS_Blended_Learning_2/wish/357947174</guid>
      </item>
   </channel>
</rss>
