Title: Assignment 2
Course: COP 1510 Programming Concepts > Section: Module 3 - Decision Structures and Boolean Logic

For your module 3 assignment, you will again design and write a program following the specification that is given below. Design your program using a flowchart and pseudocode. Submit your final flowchart and pseudocode design in the dropbox.

Odd or Even

Design a program that asks the user to enter an integer number. The program should then determine if the number entered is odd or even. Display a message to the user indicating the result.

HINT: use the MOD operator to test if a number is even by checking to see if the remainder of the number MOD 2 is equal to 0

Example Output:

Enter a number
10 [Enter]
10 is an even number