Create a program that, by the ordinal number of the day of the week

Create a program that, by the ordinal number of the day of the week, displays the corresponding phrase – “Saturday”, “Sunday” or “Working day”

program zz1;
var a: integer; // set up a variable
begin
write (‘enter the number of the day of the week’); // enter the day of the week from the keyboard
read (a);
case a of // depending on the entered day of the week, select the displayed answer
7: writeln (‘Sunday’);
6: writeln (‘Saturday’)
else
writeln (‘Working day’);
end;
end.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.