Write a program where the time of the year is entered. Display the name of the months for this time of the year
September 25, 2021 | education
| program zz1;
var n: string; // set the variable of the string type
begin
write (‘enter the time of the year’); // enter a string from the keyboard
read (n);
if (n = ‘Winter’) or (n = ‘Winter’) then writeln (‘December, January, February’); // print one answer
if (n = ‘Spring’) or (n = ‘Spring’) then writeln (‘March, April, May’); // print another answer
if (n = ‘Summer’) or (n = ‘Summer’) then writeln (‘June, July, August’); // print the third answer
if (n = ‘Autumn’) or (n = ‘Autumn’) then writeln (‘September, October, November’); // print the fourth answer
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.