# Given integers a, b, c, write a program that determines whether there are even

July 29, 2021 | education

| **Given integers a, b, c, write a program that determines whether there are even numbers among them if there are, output true otherwise, output false.**

program zz1;

var a, b, c, p: integer; // introduce variables of integer type

begin

write (‘enter the first number’); // enter the first number from the keyboard

read (a);

write (‘enter the second number’); // enter the second number from the keyboard

read (b);

write (‘enter the third number’); // enter the third number from the keyboard

read (c);

if a mod 2 = 0 then p: = 1; // check the entered numbers for evenness

if b mod 2 = 0 then p: = 1;

if c mod 2 = 0 then p: = 1;

// display the answer

if p = 0 then write (‘false’)

else write (‘true’);

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.