Write a program that checks if a number is a multiple of 3 or ends in 4.

program zz1;
var a: integer; // set a variable of integer type
begin
write (‘enter a number’); // enter a number from the keyboard
read (a);
if (a mod 3 = 0) or (a mod 10 = 4) then // check the condition, if the given number is a multiple of 3 or ends in 4, then
write (‘a given number or a multiple of 3 or ends in 4’) // print one answer
else write (‘the given number is not a multiple of 3 or does not end with 4’); // otherwise, print another 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.