Write a program that prints the odd numbers from 1 to 50 in descending order.

var a, i: integer;
begin
a: = 49; // The last odd number in the range from 1 to 50 inclusive.
repeat // Let’s use a ‘repeat’ loop as this is the fastest option in this case.
writeln (a);
a: = a – 2; // If we subtract 2 from an odd number, we get an odd number as well.
until a = 1;
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.