Question: Write a C 1 5 0 0 program that will check if the summation of your last 4 digits of the ICM ID is even
Write a C program that will check if the summation of your last digits of the ICM ID is even ie it is divisible by The program will take four inputs from the user as the last four digits and calculate accordingly. Finally, output if your student number is even, or output if your student number is odd. Assume, if the last digits are then use instead. Remember to include your ICM ID in the comment at the beginning of your program.
Examples:
i
If user gives input: Expected output: since which is an even number
ii
If user gives input: Expected output: since which is an odd number
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
