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?
age, months, days, hours: 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,',');
I see,let's look your code a bit closer. :confused: days is an identifier of your variable of the main program.When you referece a variable do not put it between apostrophe.Cause the text between apostrohe will show the screen
WriteLn('Your age in days is '); this is the text that you show the screen.And then you can use your variable separate with baton,see
WriteLn('Your age in days is ',days);
do you understand now? :D
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...