kết quả từ 1 tới 2 trên 2

Ðề tài: Có bài pascal nhờ các pro giúp nè

  1. #1
    Join Date
    Oct 2009
    Bài gởi
    320
    Thanks
    268
    Thanked 139 Times in 82 Posts
    Blog Entries
    1

    Question Có bài pascal nhờ các pro giúp nè

    To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
    src="
    To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
    width="500" height="400" type="application/x-shockwave-flash">



    incognizant incognizant incognizant incognizant ignorant fool foolishness====> become 2 incognizant incognizant==> is ignorant


  2. #2
    Join Date
    May 2009
    Đến từ
    Hà Nội
    Bài gởi
    390
    Thanks
    20
    Thanked 55 Times in 47 Posts

    Học tập suôt đời!

    uses crt;
    var
    a:array[1..20,1..20] of integer;
    b:array[1..50] of integer;
    m,n,i,j,t:integer;
    BEGIN
    clrscr;
    write('Nhap so hang:');readln(m);
    write('Nhap so cot:');readln(n);
    for i:=1 to m do
    for j:=1 to n do
    begin
    write('Nhap a[',i,',',j,']=');
    readln(a[i,j])
    end;
    t:=0;
    for i:=1 to m do
    for j:=1 to n do
    if a[i,j] mod 3=0 then
    begin
    t:=t+1;
    b[t]:=a[i,j];
    end;
    write('Cac so chia het cho 3 la: ');
    for i:=1 to t do write(b[i]:3);
    readln;
    END.

    Cái này h không phải nghề của mình nên chỉ pít có vậy :D Nguồn: http://diendankienthuc.net.

    Cánh cửa tương lai sẽ không bao giờ khép lại với những ai luôn mơ ước.

Chủ đề giống nhau

  1. Giúp em 1 bài lập trình PASCAL
    By Nhok_LTK in forum Hỏi đáp Tin học
    Trả lời: 6
    Bài mới gởi: 04-22-2012, 01:30 AM
  2. Giúp mình 2 bài pascal
    By vitcapcap in forum Hỏi đáp Tin học
    Trả lời: 2
    Bài mới gởi: 09-10-2010, 07:11 PM
  3. Trả lời: 3
    Bài mới gởi: 05-09-2010, 11:11 PM
  4. Có bài đồ họa pascal nhờ mọi người giúp?Gấp lắm
    By thuyai90 in forum Hỏi đáp Tin học
    Trả lời: 0
    Bài mới gởi: 04-24-2010, 11:01 PM
  5. Free Pascal 2.2.2 - phần mềm pascal hay hơn Turbo pascal 7.0
    By tranduchuytt2 in forum Web Development
    Trả lời: 1
    Bài mới gởi: 11-26-2009, 07:11 AM

Bookmarks

Quuyền Hạn Của Bạn

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •