Write a program to find all two-digit numbers that are multiples of 17 and end in 7 or 9.

program v_17_9_7;

begin

for i: integer: = 10 to 99 do

if (i mod 17 = 0) and ((i mod 10 = 7) or (i mod 10 = 9)) then

writeln (i, ”)

end.

After executing the program, we find out that only one two-digit number is a multiple of 17 and ends in 7 or 9 – this is the number 17.



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.