<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Giải bài tập Cấu trúc rẽ nhánh by Đình Khương Nguyễn</title>
      <link>https://padlet.com/khuongtinnct/lop10khongchuyen</link>
      <description>(Trang sử bài)</description>
      <language>en-us</language>
      <pubDate>2021-11-21 06:38:12 UTC</pubDate>
      <lastBuildDate>2025-10-07 17:05:39 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/270d.png</url>
      </image>
      <item>
         <title>Nguyễn Đình Khương (ví dụ)</title>
         <author>khuongtinnct</author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238808143</link>
         <description><![CDATA[<div>#include&lt;bits/stdc++.h&gt;<br>using namespace std;<br>bool nguyento(int n) {<br>&nbsp; &nbsp; if (n &lt;= 1)<br>&nbsp; &nbsp; &nbsp; &nbsp; return false;<br>&nbsp; &nbsp; for (int i = 2; i &lt;= sqrt(n); i++)<br>&nbsp; &nbsp; &nbsp; &nbsp; if (n%i == 0)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return false;<br>&nbsp; &nbsp; return true;<br>}<br>int main(){<br>&nbsp; &nbsp; int n;<br>&nbsp; &nbsp; cin &gt;&gt; n;<br>&nbsp; &nbsp; for(int i=2;i&lt;=n;i++)<br>&nbsp; &nbsp; &nbsp; &nbsp; while (n%i == 0 &amp;&amp; nguyento(i) ) {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cout &lt;&lt; i &lt;&lt; " ";<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; n /= i;<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; system("pause");<br>&nbsp; &nbsp; return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 08:23:46 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238808143</guid>
      </item>
      <item>
         <title>Nguyễn Minh Nhật-Bài 7</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238819800</link>
         <description><![CDATA[<div>#include &lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>	float a,b,c,d;<br>float&nbsp; tbcong ;<br>	cin&gt;&gt;a&gt;&gt;b&gt;&gt;c&gt;&gt;d;<br>	tbcong= (a+b+c+d)/4;<br>cout&lt;&lt;tbcong;<br>return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 08:41:33 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238819800</guid>
      </item>
      <item>
         <title>Nguyễn Minh Nhật - Bài 6</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238821318</link>
         <description><![CDATA[<div>#include &lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>	int a,b;<br>	cin&gt;&gt;a&gt;&gt;b;<br>	int t = a ;<br>	a=b ;<br>	b=t;<br>	cout&lt;&lt;a&lt;&lt;" "&lt;&lt;b;<br>	return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 08:43:52 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238821318</guid>
      </item>
      <item>
         <title>Nguyễn Minh Nhật - Bài 8</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238825458</link>
         <description><![CDATA[<div>#include&lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>int n=4;<br>float tbc ;<br>	float a[1114];<br>	for (int i = 1 ; i &lt;=n ; ++i)<br>	{<br>		cin&gt;&gt;a[i] ;<br>	<br>	}<br>		tbc=(a[1]+ a[2]+a[3]+a[4] )/n ;<br>		cout&lt;&lt;tbc;<br>		return 0 ;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 08:52:02 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238825458</guid>
      </item>
      <item>
         <title>Nguyễn Minh Nhật - Bài 1 (Cấu trúc if )</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238841324</link>
         <description><![CDATA[<div>#include &lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>	int a,b,c;<br>	cin&gt;&gt;a&gt;&gt;b&gt;&gt;c;<br>	if((a*a==b*b+c*c)|(b*b==a*a+c*c) | (c*c==a*a+b*b ) ) cout&lt;&lt;"day la bo ba so Pytago";<br>	else cout&lt;&lt;"day khong phai bo ba so pytago";<br>	return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 09:22:37 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238841324</guid>
      </item>
      <item>
         <title>Nguyễn Minh Nhật - Bài 5 (Cấu trúc if )</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238845009</link>
         <description><![CDATA[<div>#include&lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>	float a,b,c,d,mx,mn;<br>	cin&gt;&gt;a&gt;&gt;b&gt;&gt;c&gt;&gt;d;<br>	mx=a ;<br>	if(b&gt;mx) mx=b;<br>	if(c&gt;mx) mx=c;<br>	if (d&gt;mx) mx=d;<br>	cout&lt;&lt;mx&lt;&lt;endl;<br>	mn=a;<br>	if(b&lt;mn) mn=b;<br>	if(c&lt;mn) mn=c;<br>	if (d&lt;mn) mn=d;<br>	cout&lt;&lt;mn;<br>return 0 ;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 09:29:31 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238845009</guid>
      </item>
      <item>
         <title>Nguyễn Minh Nhật - Bài 6 (Cấu trúc if )</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238847703</link>
         <description><![CDATA[<div>#include&lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>	int n,m,S,P ;<br>	cin&gt;&gt;m&gt;&gt;n;<br>	if(m&gt;n) P=m-n;<br>	else P=n-m;<br>	S=m+n;<br>	cout&lt;&lt;P&lt;&lt;" "&lt;&lt;S;<br>	return 0 ;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 09:34:30 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238847703</guid>
      </item>
      <item>
         <title>Nguyễn Minh Nhật - Bài 8(cấu trúc if)</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238851782</link>
         <description><![CDATA[<div>#include&lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>	int a,b,c;<br>	cin&gt;&gt;a&gt;&gt;b&gt;&gt;c;<br>	if( a==b&amp;&amp;b==c) cout&lt;&lt;"day la tam giac deu";<br>	if(( a==c)|(a==b) | (b==c) ) cout&lt;&lt;"day la tam giac can";<br>	if(a!=b&amp;&amp;b!=c &amp;&amp;a!=c) cout&lt;&lt;"day la tam giac thuong";<br>	return 0 ;<br>	<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 09:42:44 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238851782</guid>
      </item>
      <item>
         <title>Nguyễn Minh Nhật - bài 7 ( cấu trúc if)</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238864636</link>
         <description><![CDATA[<div>#include &lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>	int m,n,k;<br>	cin&gt;&gt;m&gt;&gt;n&gt;&gt;k;<br>	if(k-n==n-m) cout&lt;&lt;2*m&lt;&lt;" "&lt;&lt;2*n&lt;&lt;" "&lt;&lt;2*k;<br>	if( k-n != n-m) cout&lt;&lt;m-1&lt;&lt;" "&lt;&lt;n-1&lt;&lt;" "&lt;&lt;k-1;<br>	return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-07 10:09:24 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2238864636</guid>
      </item>
      <item>
         <title>Bài 10 - cấu trúc lặp</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2240071111</link>
         <description><![CDATA[<div>#include&lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int main ()<br>{<br>	int n,i,cuuchuong;<br>	cin&gt;&gt;n;<br>	cuuchuong=0;<br>	<br>	for(int i = 1; i&lt;=10 ; ++i )<br>	{<br>		cuuchuong=n*i;<br>			cout&lt;&lt;cuuchuong&lt;&lt;" ";<br><br>	}<br>	return 0 ;<br>}&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-09 06:40:47 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2240071111</guid>
      </item>
      <item>
         <title>MHung giaithua</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2250003464</link>
         <description><![CDATA[<div>#include &lt;bits/stdc++.h&gt;<br>using namespace std;<br>long long s, a, b, c, d, n, m;<br>int gt(int k)<br>{<br>	int gt = 1;<br>	for (int i = 1; i &lt;= k ; i++) gt*= i;<br>	return gt;<br>}<br>int main()<br>{<br>	cin &gt;&gt; a &gt;&gt; b &gt;&gt; c &gt;&gt; d &gt;&gt; n &gt;&gt; m;<br>	s = gt(a) + gt(b) + gt(c) + gt(d) + gt(n) + gt(m);<br>	cout &lt;&lt; s;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-26 15:05:58 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2250003464</guid>
      </item>
      <item>
         <title>Nhật</title>
         <author></author>
         <link>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2250003471</link>
         <description><![CDATA[<div>#include &lt;bits/stdc++.h&gt;<br>using namespace std ;<br>int giaithua(int x)<br>{<br>	int i,giaithua=1;<br>	for(i=1;i&lt;=x;++i)<br>	<br>		giaithua=giaithua*i;<br><br>		return giaithua;<br>	}<br>	int main ()<br>	{<br>		long S,a,b,c,d,m,n ;<br>	cin&gt;&gt;a&gt;&gt;b&gt;&gt;c&gt;&gt;d&gt;&gt;m&gt;&gt;n;<br>	S	= giaithua(a)+giaithua(b)+giaithua(c)+giaithua(d)+giaithua(m)+giaithua(n);<br>	cout&lt;&lt;S;<br>	return 0;<br>	<br>	}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2022-07-26 15:05:59 UTC</pubDate>
         <guid>https://padlet.com/khuongtinnct/lop10khongchuyen/wish/2250003471</guid>
      </item>
   </channel>
</rss>
