I have designed an age calculator which given a person's age, works out given a person's age, works out how many days they have lived for, and how many hours they have lived for.
age, month, day, hour: integer;
writeln ('How old are you?');
writeln ('Please enter the number of months since your last birthday.');
writeln ('Your age in days is ', days,' ,');
writeln ('Your age in hours is ', hours,' ,');
My question is: what is the meaning of the comma and delimiter in the red colour? It is because I usually forget to put comma and/or delimiter in this circumstance.