CSC126 Tutorial 5 (Part2)
CSC126 Tutorial 5 (Part2)
Task 1: Write a C++ program to accept two integers and check whether they are equal or not.
Task 2: Write a program that will asks user for a number. It then displays whether the number is (greater
than zero) or (less than or equal to zero).
Task 4: Write a program that reads an integer and determines and prints whether it is odd or
even. (Hint: use modulus operator)