Write a program to read a number from the user and output if the input is even or odd.
The prompt message should be: Enter a number: . Note that the input will be a string.
Use the 'line' event to listen for input!
Write a program to read a number from the user and output if the input is even or odd.
The prompt message should be: Enter a number: . Note that the input will be a string.
Sample Input 1:
5Sample Output 1:
Enter a number: OddCreate a free account to access the full topic