Pascal nhập vào 1 dãy số nguyên và in ra mỗi số trên 1 hàng

Pascal nhập vào 1 dãy số nguyên và in ra mỗi số trên 1 hàng

Đề bài Pascal nhập vào 1 dãy số nguyên và in ra mỗi số trên 1 hàng

>> Pascal : Bài tập mảng 1 chiều hot nhất nên xem

Cài đặt

Prgram Nhap_Va_Xuat_Mang;
Uses crt;
Var A: array[1..100] of integr;
i, k,demd, s, demnt, tg,n, d, dd,j  : integer;
tb, tbm: real;
Begin
    Clrscr;
    Writeln(‘nhap so luong phan tu cua mang’); readln(n);
    Writeln(‘----------------------nhap mang--------------------------------------‘);
    For i:=1 to n do
        Begin
            Writeln(‘nhap so hang thu’, I, ‘A[‘,I,’]= ‘);
            Readln(A[i]);
        End;
    {-------------------In mang va cac phan tu xuong dong, nho ham writeln------------------}
    For i:=1 to n do
        Writeln(‘Cac phan tu da nhap’, A[i]);    
End. 
       
Bạn thấy bài viết này như thế nào?: 
Average: 7.8 (176 votes)
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Hướng dẫn sử dụng Features module với Drush trong Drupal 7

Hướng dẫn sử dụng Features module với Drush trong Drupal 7

New to using Features or Drush? Or maybe you don't use them together. You should read this post from BeFused and start using features from the commandline. It really is the best way to build your features.

One of the most common complaints we get from newcomers to Drupal is that easy, good-looking themes are hard to find.

10 Easy, Beautiful Drupal Themes

One of the most common complaints we get from newcomers to Drupal is that easy, good-looking themes are hard to find.

11 bước lắp ráp một bộ máy tính theo trình tự hợp lý

11 bước lắp ráp một bộ máy tính theo trình tự hợp lý

Bắt ốc đệm là bước đầu tiên và cực kì quan trọng trong việc lắp ráp máy tính. Nếu thiếu những chiếc ốc này, bo mạch chủ bị tiếp xúc với thành case và rất có khả năng sẽ “ra đi” do chạm mát ngay trong lần đầu bật máy.

Công ty diệt chuột T&C

 

Diet con trung