Lab 3: Conditional Statements

Problem Set 3.1: Conditional Statement

  1. Find Pass/ Fail.

  2. Find Voter or Not Voter.

  3. Is a number Positive/ Negative/ Zero?

  4. Find the Maximum between 2 numbers.

  5. Find the Minimum between 2 numbers.

  6. Find the Maximum between 3 numbers.

  7. Find the Minimum between 3 numbers.

  8. Determine whether a number is EVEN or ODD.

  9. Check is a year Leap Year or Not.

  10. Find Grade of Exam.

  11. Print a digit into a word.

  12. Validate a Time. (Consider 24 Hours Format)

  13. Validate a Time. (Consider 12 Hours Format)

  14. Validate a Date.

Last updated