<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Bookmarks by Hoang Luong</title>
      <link>https://padlet.com/hoangtuathat/Bookmarks</link>
      <description>Made with charisma</description>
      <language>en-us</language>
      <pubDate>2021-10-25 01:40:23 UTC</pubDate>
      <lastBuildDate>2022-05-05 15:14:43 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>bài 1: &quot;âm dương độn&quot;(if else)</title>
         <author>hoangtuathat</author>
         <link>https://padlet.com/hoangtuathat/Bookmarks/wish/2171502526</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>&nbsp; &nbsp; int n;<br>&nbsp; &nbsp; cout &lt;&lt; "nhap n :";<br>&nbsp; &nbsp; cin &gt;&gt; n;<br>&nbsp; &nbsp; if (n==0){<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; n;<br>&nbsp; &nbsp; } else {<br>&nbsp; &nbsp; if (n&gt;0){&nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "n &gt; 0 " ;<br>&nbsp; &nbsp; } else {&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "n là số âm";<br>&nbsp; &nbsp; }&nbsp;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; return 0;<br>}<br><br><br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1421179338/d8762038573d9c73380f7dea352c67d0/image.png" />
         <pubDate>2022-05-05 14:14:52 UTC</pubDate>
         <guid>https://padlet.com/hoangtuathat/Bookmarks/wish/2171502526</guid>
      </item>
      <item>
         <title>bài 2:&quot;chẵn lẻ chân thân&quot; (if else)</title>
         <author>hoangtuathat</author>
         <link>https://padlet.com/hoangtuathat/Bookmarks/wish/2171507724</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>&nbsp; &nbsp; int n;<br>&nbsp; &nbsp; cout &lt;&lt; "nhap n :";<br>&nbsp; &nbsp; cin &gt;&gt; n;<br>&nbsp; &nbsp; if (n==0){<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; n;<br>&nbsp; &nbsp; } else {<br>&nbsp; &nbsp; if (n % 2 == 0){&nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "n là số chẵn " ;<br>&nbsp; &nbsp; } else {&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "n là số lẻ";<br>&nbsp; &nbsp; }&nbsp;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; return 0;<br>}</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1421179338/c5157cc27f728c74ad36f4f3c7f4e967/image.png" />
         <pubDate>2022-05-05 14:18:08 UTC</pubDate>
         <guid>https://padlet.com/hoangtuathat/Bookmarks/wish/2171507724</guid>
      </item>
      <item>
         <title>bài 3,4:&quot;phương trình tính cước taxi&quot; (if else)</title>
         <author>hoangtuathat</author>
         <link>https://padlet.com/hoangtuathat/Bookmarks/wish/2171540979</link>
         <description><![CDATA[<div>bài 3:<br>#include &lt;iostream&gt;<br>#include &lt;math.h&gt;<br>using namespace std;<br><br>int main()<br>{<br>&nbsp; &nbsp; int a,b,c,x,x1,x2,z;<br>&nbsp; &nbsp; cout &lt;&lt; "nhap a :";<br>&nbsp; &nbsp; cin &gt;&gt; a;<br>&nbsp; &nbsp; cout &lt;&lt; "nhap b :";<br>&nbsp; &nbsp; cin &gt;&gt; b;<br>&nbsp; &nbsp; cout &lt;&lt; "nhap c :";<br>&nbsp; &nbsp; cin &gt;&gt; c;<br>&nbsp; &nbsp; z=b*b - 4*a*c;<br>&nbsp; &nbsp; x= (- b) / (2*a);<br>&nbsp; &nbsp; x1=(-b+sqrt(z))/(2*a);<br>&nbsp; &nbsp; x2=(-b-sqrt(z))/(2*a);<br>&nbsp; &nbsp; if (z&lt;0){<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "phương trình vô nghiệm";<br>&nbsp; &nbsp; } else {<br>&nbsp; &nbsp; if (z==0){&nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "phương trình có nghiệm :"&lt;&lt; x ;<br>&nbsp; &nbsp; } else {&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "phương trình có 2 nghiệm :"&lt;&lt; x1 &lt;&lt; ";" &lt;&lt; x2;<br>&nbsp; &nbsp; }&nbsp;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; return 0;<br>}<br><br>bài 4:<br>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>&nbsp; &nbsp; int n;<br>&nbsp; &nbsp; cout &lt;&lt; "nhap n :";<br>&nbsp; &nbsp; cin &gt;&gt; n;<br>&nbsp; &nbsp; if (n&lt;1){<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "giá 15000vnđ";<br>&nbsp; &nbsp; } else {<br>&nbsp; &nbsp; if (n&gt;20){&nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cout &lt;&lt; "giá " &lt;&lt; 15000+(n-20)*10000+20*10000 &lt;&lt; "vnđ";<br>&nbsp; &nbsp; } else {&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "giá " &lt;&lt; (n-1)*12000+15000 &lt;&lt; "vnđ";<br>&nbsp; &nbsp; }&nbsp;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; return 0;<br>}</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1421179338/c9a329d022523a68e64a042c4707e8a8/image.png" />
         <pubDate>2022-05-05 14:37:39 UTC</pubDate>
         <guid>https://padlet.com/hoangtuathat/Bookmarks/wish/2171540979</guid>
      </item>
      <item>
         <title>Vd: switch case</title>
         <author>hoangtuathat</author>
         <link>https://padlet.com/hoangtuathat/Bookmarks/wish/2171567431</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>&nbsp; &nbsp; int n;<br>&nbsp; &nbsp; cin &gt;&gt; n;<br>&nbsp; &nbsp; switch (n){<br>&nbsp; &nbsp; &nbsp; &nbsp; case 1:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cout &lt;&lt; "Phong va Quan yeu nhau";<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br>&nbsp; &nbsp; &nbsp; &nbsp; case 2:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "phong bi ntr";<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br>&nbsp; &nbsp; &nbsp; &nbsp; case 3:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "quan bi rape";<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br>&nbsp; &nbsp; &nbsp; &nbsp; default:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; "quan rape phong";<br>&nbsp; &nbsp; }<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-05-05 14:52:31 UTC</pubDate>
         <guid>https://padlet.com/hoangtuathat/Bookmarks/wish/2171567431</guid>
      </item>
      <item>
         <title>vd:for loop</title>
         <author>hoangtuathat</author>
         <link>https://padlet.com/hoangtuathat/Bookmarks/wish/2171587150</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>&nbsp; &nbsp; int n;<br>&nbsp; &nbsp; cin &gt;&gt; n;<br>&nbsp; &nbsp; for (int i = 0; i &lt; n ; i++){ &nbsp; // for (begin,end,step)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cout &lt;&lt; "\n Phong va Quan bi ntr";<br>&nbsp; &nbsp; }&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; int k = 0; //begin<br>&nbsp; &nbsp; for (;k &lt; n ; k++){ &nbsp; // for (begin,end,step)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cout &lt;&lt; "\n Quan bi ntr";<br>&nbsp; &nbsp; }&nbsp;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-05-05 15:04:10 UTC</pubDate>
         <guid>https://padlet.com/hoangtuathat/Bookmarks/wish/2171587150</guid>
      </item>
      <item>
         <title>vd:while loop</title>
         <author>hoangtuathat</author>
         <link>https://padlet.com/hoangtuathat/Bookmarks/wish/2171602965</link>
         <description><![CDATA[<div>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>&nbsp; &nbsp; int n = 0;<br>&nbsp; &nbsp;while (true){&nbsp; &nbsp;<br>&nbsp; &nbsp; // &nbsp; if (n &gt; 9){<br>&nbsp; &nbsp; //&nbsp; &nbsp; &nbsp; &nbsp;break;<br>&nbsp; &nbsp; // &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp;cout &lt;&lt; "\n Phong bi thay ong noi rape";<br>&nbsp; &nbsp; &nbsp; &nbsp;n++;<br>&nbsp; &nbsp;}<br>}<br>//vong lap vo han<br><br>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int main()<br>{<br>&nbsp; &nbsp; int n = 0;<br>&nbsp; &nbsp;while (n &lt; 9){ &nbsp; //vo&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp;if (n &gt; 9){<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br>&nbsp; &nbsp; &nbsp; &nbsp;}<br>&nbsp; &nbsp; &nbsp; &nbsp;cout &lt;&lt; "\n Phong bi thay ong noi rape";<br>&nbsp; &nbsp; &nbsp; &nbsp;n++;<br>&nbsp; &nbsp;}<br>}<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-05-05 15:13:36 UTC</pubDate>
         <guid>https://padlet.com/hoangtuathat/Bookmarks/wish/2171602965</guid>
      </item>
   </channel>
</rss>
