Dear Sir,
The following is the very basic programme, but I often miss the comma and delimiter which is red in colour. Could you express the meaning of this?
program AgeCalculator;
{$APPTYPE CONSOLE}
uses
SysUtils;
var
age, months, days, hours: integer;
begin
writeln ('How old are you?');
readln (age);
writeln ('Please enter the number of months since your last birthday.');
readln (months);
days:=age*365+months*30;
hours:=days*24;
writeln ('Your age in days is ', days,',');
writeln ('Your age in hours is ', hours,',');
sleep (50000);
end.