D
D
d4Rk_ag3Nt2016-01-25 23:40:10
Pascal
d4Rk_ag3Nt, 2016-01-25 23:40:10

Who will help to arrange comments to the pascal code part 2?

The first control, I don’t really understand yet, the programs are also the first. I wrote programs, they seem to work, they are not able to explain)) Help with comments on the following codes:
2.
Const
nn=50;
type
data = record
number : 1..31;
month : 1..12; year :
1901..1997 var d:array[1..nn] of data; i,n,k:integer; s,s1,s2,s3:string; begin Write('Number of dates (1..50)-> '); read(n); Writeln('Enter a space-separated day, month, year: '); for i:=1 to n do Read(d[i].number,d[i].month,d[i].year); { a } Write('Earliest of years: '); k:=d[1].year;
for i:=2 to n do
if d[i].year

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question