An integer natural number is given – the ordinal number of the month. display its name in Russian

An integer natural number is given – the ordinal number of the month. display its name in Russian, or “no” if the month with such a serial number does not exist. months are numbered starting at 1.

program zz1;
var k: integer; // set a variable of integer type
begin
writeln (‘enter the month number’);
read (k);
if k = 1 then write (‘January’);
if k = 2 then write (‘February’);
if k = 3 then write (‘March’);
if k = 4 then write (‘April’);
if k = 5 then write (‘May’);
if k = 6 then write (‘June’);
if k = 7 then write (‘July’);
if k = 8 then write (‘August’);
if k = 9 then write (‘September’);
if k = 10 then write (‘October’);
if k = 11 then write (‘November’);
if k = 12 then write (‘December’);
if (k <1) or (k> 12) then write (‘No’);
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.