write an algorithm of a simple program which accept three integers and return their sum if two of the integers are even

Here is an algorithm for a simple program that accepts three integers and returns their sum if two of the integers are even:

1. Start by declaring three integer variables: num1, num2, and num3.
2. Ask the user to enter the values for num1, num2, and num3.
3. Read the values entered by the user and store them in the respective variables.
4. Create a variable called "evenCount" and set it to 0.
5. Check if num1 is even (num1 % 2 == 0). If it is, increment the evenCount variable by 1.
6. Repeat the same check for num2 and num3, incrementing the evenCount variable accordingly.
7. Check if evenCount is equal to 2.
- If it is, calculate the sum of the three numbers (sum = num1 + num2 + num3).
- Print the sum to the user.
8. If evenCount is not equal to 2, print a message indicating that there are not enough even numbers.
9. End the program.

Note: This algorithm assumes that the user will enter valid integers for num1, num2, and num3. It also assumes that numbers such as 0 are considered to be even.