subject
Computers and Technology, 30.03.2021 18:50 ltay92

Homework of pascal, please help me find the error
var a:array [1..100] of integer;
n:integer;
procedure nhapmang (var a:array [1..100] of integer;var n: integer);
var i:integer;
begin
write ('nhap n:');
readln (n);
for i:=1 to n do
begin
write ('a[', i, ']=');
readln;
end;
end;
procedure xuatmang ( a:array [1..100] of integer; n: integer);
var i:integer;
begin
for i:=1 to n do
write (a[i]:4);
end;
begin
nhapmang (a, n);
xuatmang (a, n);
end.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:50, wtfcmd
Match the personality traits with their description
Answers: 1
image
Computers and Technology, 22.06.2019 08:00, jcastronakaya
Apex q: what does a low employment rate indicate? a. not many people are earning high salaries b. not many people are going to college c. not many people are renting their homes d. not many people have jobs
Answers: 2
image
Computers and Technology, 23.06.2019 15:00, puppylove899
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a. an advanced knowledge of physics and math b. an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 1
image
Computers and Technology, 23.06.2019 20:00, shadow6728g
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
You know the right answer?
Homework of pascal, please help me find the error
var a:array [1..100] of integer;
n:i...

Questions in other subjects:

Konu
English, 19.10.2019 01:00