Enter the name of the month and display the Pascal time of year.
July 4, 2021 | education
| program zz1;
var k: string; // set a variable of string type
begin
write (‘enter the name of the month’);
read (k); // enter the month from the keyboard
if k = ‘January’ then write (‘Winter’);
if k = ‘February’ then write (‘Winter’);
if k = ‘March’ then write (‘Spring’);
if k = ‘April’ then write (‘Spring’);
if k = ‘May’ then write (‘Spring’);
if k = ‘June’ then write (‘Summer’);
if k = ‘July’ then write (‘Summer’);
if k = ‘August’ then write (‘Summer’);
if k = ‘September’ then write (‘Autumn’);
if k = ‘October’ then write (‘Autumn’);
if k = ‘November’ then write (‘Autumn’);
if k = ‘December’ then write (‘Winter’);
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.