Question: please help with only Numbers 1,3, and 4. Write C++ expressions. the problems that require a Boolean expression will provide a condition in which you

please help with only Numbers 1,3, and 4. Write C++ expressions. the problems that require a Boolean expression will provide a condition in which you must write an expression that evaluates to true only for values that makes the conditions true. The problems will provide variables that you must use to write the expressions. You cannot use any additional variables.
1. oh operations must result in no remainder Determines if a year, year, is a couple years from a leap year. I Operands={5,5,7,7} Answer: 5+5+7+7 2. 3. Determines if two integers, a and b, are consecutive even numbers. Answer: 4. Determines if a day, day, fell on a Thursday in the month of February 2021. Answer: 5. Determines if two numbers, s and t, are nonzero number with the same sign. Answer: Operands={1, 2,8,8} Answer: (1 * 8) + (2*8) 6. 7. Determines if an integer, p, is a positive three digit number. Answer: 8. Determines if an integer, x, is a multiple of both 3 and 7. Answer: 9. Answer: Determines if a character, c, is a uppercase vowel. Operands={1,5,5,9} Answer: (1 + 5) * (9-5) 10. 11. Determines if an integer, n, is a negative four digit number. 12. Operands={2,3,3,8} 13. Determines if an integer, y, is a perfect square of an odd number between 1 and 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
