<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[pascal help em]]></title><description><![CDATA[<p dir="auto">Cau 1<br />
a. Chuyen 67.6875(10) tu he dem thap phan sang he dem nhi phạn<br />
chuyen 100111 (2) tu he dem nhi phan sang thap phan<br />
b-neu khai niem thuat toan va cach bieu dien mot thuat toạn  . Viet thuat toan bang so do khoi . Nhap vao 2 so nguyen duong a va b, tim uoc so chung lon nhat cua 2 so do</p>
]]></description><link>https://dalathoa.com/topic/71/pascal-help-em</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Jul 2026 00:00:49 GMT</lastBuildDate><atom:link href="https://dalathoa.com/topic/71.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 May 2008 06:31:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 08:44:26 GMT]]></title><description><![CDATA[<p dir="auto">Hu hu . Em làm 4 7 mất rồi. Chết mất sai 1 câu &gt;.&lt; Nếu như tất cả còn lại đúng. Thank Anh và Ku TIN nhé ... hehehe .... Cầm quả ĐT trên tay mà run run. Sợ bị bắt .....</p>
]]></description><link>https://dalathoa.com/post/14600</link><guid isPermaLink="true">https://dalathoa.com/post/14600</guid><dc:creator><![CDATA[halam]]></dc:creator><pubDate>Fri, 23 May 2008 08:44:26 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 07:37:32 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>bionline:</strong><br />
Cau 1<br />
a. Chuyen 67.6875(10) tu he dem thap phan sang he dem nhi phạn<br />
chuyen 100111 (2) tu he dem nhi phan sang thap phan<br />
b-neu khai niem thuat toan va cach bieu dien mot thuat toạn  . Viet thuat toan bang so do khoi . Nhap vao 2 so nguyen duong a va b, tim uoc so chung lon nhat cua 2 so do</p>
</blockquote>
<p dir="auto">Dùng cal của windows dễ nhận thấy  a=1000011 và b=39 :22:</p>
]]></description><link>https://dalathoa.com/post/14599</link><guid isPermaLink="true">https://dalathoa.com/post/14599</guid><dc:creator><![CDATA[nguoiDalatCuoiCung]]></dc:creator><pubDate>Fri, 23 May 2008 07:37:32 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 07:18:15 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>bionline:</strong><br />
cau 2 b tiep</p>
<p dir="auto">VAR i,j,n: integer;<br />
a: array[1..50,1..50] of integer;<br />
BEGIN<br />
n:=2;<br />
FOR i:=0 TO n-1 DO<br />
FOR j:=i+1 TO n DO<br />
BEGIN<br />
a := i+j;<br />
write(a);<br />
END;<br />
Readln;<br />
ẸND</p>
</blockquote>
<p dir="auto">Câu này compile sẽ error vì<br />
vòng lập đầu tiên i=0; j=1 mà pasal mảng phải bắt đầu từ 1 nên bị lỗi tại a[0,1]<br />
Câu nay la bẫy đấy em :22:</p>
]]></description><link>https://dalathoa.com/post/14598</link><guid isPermaLink="true">https://dalathoa.com/post/14598</guid><dc:creator><![CDATA[nguoiDalatCuoiCung]]></dc:creator><pubDate>Fri, 23 May 2008 07:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 07:16:32 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Program cau3;<br />
Uses Crt ;<br />
Const MAX = 1000 ;<br />
Var<br />
a: array[1 .. MAX] of integer ; n : integer ; soam: integer; tong: integer;<br />
Begin<br />
Writeln('Nhap N:');<br />
Readln(n);</p>
<p dir="auto">soam:=0;<br />
tong:=0;</p>
<p dir="auto">For i := 1 To n Do<br />
Begin<br />
Writeln('Nhap a[',i,']=');<br />
Readln(a);<br />
End</p>
<p dir="auto">For i:=1 to n do<br />
Begin<br />
if a&lt; 0 then<br />
Begin<br />
soam:=soam+1;<br />
tong:=tong+a;<br />
End<br />
End</p>
<p dir="auto">Writeln('Co ',soam, 'so am trong mang');<br />
Writeln('Tong = ',tong);<br />
End.</p>
</blockquote>
<p dir="auto">@ Bravo :13:, sau này e có bài C nào khó pm a lun nhá a ^^...</p>
<p dir="auto">Câu 2b, tính ra... kỳ quá, hem dám nói, hí hí :"&gt;</p>
]]></description><link>https://dalathoa.com/post/14597</link><guid isPermaLink="true">https://dalathoa.com/post/14597</guid><dc:creator><![CDATA[ge8zvh]]></dc:creator><pubDate>Fri, 23 May 2008 07:16:32 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 07:14:43 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Tin:</strong><br />
@ Câu II e nghĩ a= 3, s= 7 chứ anh :)</p>
</blockquote>
<p dir="auto">Sorry nhầm<br />
nếu writeln(a,s)  thì a=3 s=7<br />
tưởng writeln(i,s)<br />
mà ai lại hỏi a = mấy chuối vậy có lộn ko, vì a nó đâu có thay đổi</p>
]]></description><link>https://dalathoa.com/post/14596</link><guid isPermaLink="true">https://dalathoa.com/post/14596</guid><dc:creator><![CDATA[nguoiDalatCuoiCung]]></dc:creator><pubDate>Fri, 23 May 2008 07:14:43 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 07:12:32 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>bionline:</strong><br />
cau 3<br />
viet chuong trinh nhap vao 1 mang mot chieu gom n cac so nguyen (n nhap tu ban phim).  Cho biet co bao nhieu so am trong day va tinh tong cac so am do .</p>
</blockquote>
<p dir="auto">Program cau3;<br />
Uses   Crt ;<br />
Const   MAX = 1000 ;<br />
Var<br />
a: array[1 .. MAX] of   integer ;    n : integer ; soam: integer; tong: integer;<br />
Begin<br />
Writeln('Nhap N:');<br />
Readln(n);</p>
<pre><code>soam:=0;
tong:=0;

For i := 1 To n   Do     
Begin
	Writeln('Nhap a[',i,']=');
	Readln(a);
End

For i:=1 to n do
Begin
	if a&lt; 0 then
	Begin
		soam:=soam+1;
		tong:=tong+a;
	End
End

Writeln('Co ',soam, 'so am trong mang');
Writeln('Tong = ',tong);
</code></pre>
<p dir="auto">End.</p>
]]></description><link>https://dalathoa.com/post/14595</link><guid isPermaLink="true">https://dalathoa.com/post/14595</guid><dc:creator><![CDATA[nguoiDalatCuoiCung]]></dc:creator><pubDate>Fri, 23 May 2008 07:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 07:07:53 GMT]]></title><description><![CDATA[<p dir="auto">cau 2 b tiep</p>
<p dir="auto">VAR i,j,n: integer;<br />
a: array[1..50,1..50] of integer;<br />
BEGIN<br />
n:=2;<br />
FOR i:=0 TO n-1 DO<br />
FOR j:=i+1 TO n DO<br />
BEGIN<br />
a := i+j;<br />
write(a);<br />
END;<br />
Readln;<br />
ẸND</p>
]]></description><link>https://dalathoa.com/post/14594</link><guid isPermaLink="true">https://dalathoa.com/post/14594</guid><dc:creator><![CDATA[halam]]></dc:creator><pubDate>Fri, 23 May 2008 07:07:53 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 07:04:33 GMT]]></title><description><![CDATA[<p dir="auto">@ Câu II e nghĩ a= 3, s= 7 chứ anh :)</p>
]]></description><link>https://dalathoa.com/post/14593</link><guid isPermaLink="true">https://dalathoa.com/post/14593</guid><dc:creator><![CDATA[ge8zvh]]></dc:creator><pubDate>Fri, 23 May 2008 07:04:33 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 06:53:39 GMT]]></title><description><![CDATA[<p dir="auto">Cau 2</p>
<p dir="auto">Cac truong trinh sau in ra ket qua man hinh nhu the nao :<br />
a-<br />
VAR S, a, i: integer;<br />
BEGIN<br />
I:=0; a:=3; S=1;<br />
REPEAT<br />
S:= S + I;<br />
I:=i+1;<br />
UNTIL (i&gt;a);<br />
Write(a, S);<br />
Readln:<br />
END.</p>
<p dir="auto"><strong>a=3<br />
s=7</strong></p>
]]></description><link>https://dalathoa.com/post/14592</link><guid isPermaLink="true">https://dalathoa.com/post/14592</guid><dc:creator><![CDATA[nguoiDalatCuoiCung]]></dc:creator><pubDate>Fri, 23 May 2008 06:53:39 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 06:48:09 GMT]]></title><description><![CDATA[<p dir="auto">Cau 2</p>
<p dir="auto">Cac truong trinh sau in ra ket qua man hinh nhu the nao :<br />
a-<br />
VAR S, a, i: integer;<br />
BEGIN<br />
I:=0; a:=3; S=1;<br />
REPEAT<br />
S:= S + I;<br />
I:=i+1;<br />
UNTIL (i&gt;a);<br />
Write(a, S);<br />
Readln:<br />
END.</p>
]]></description><link>https://dalathoa.com/post/14591</link><guid isPermaLink="true">https://dalathoa.com/post/14591</guid><dc:creator><![CDATA[halam]]></dc:creator><pubDate>Fri, 23 May 2008 06:48:09 GMT</pubDate></item><item><title><![CDATA[Reply to pascal help em on Fri, 23 May 2008 06:37:14 GMT]]></title><description><![CDATA[<p dir="auto">cau 3<br />
viet chuong trinh nhap vao 1 mang mot chieu gom n cac so nguyen (n nhap tu ban phim).  Cho biet co bao nhieu so am trong day va tinh tong cac so am do .</p>
]]></description><link>https://dalathoa.com/post/14590</link><guid isPermaLink="true">https://dalathoa.com/post/14590</guid><dc:creator><![CDATA[halam]]></dc:creator><pubDate>Fri, 23 May 2008 06:37:14 GMT</pubDate></item></channel></rss>