C language
Ask the user to input an integerx. On the next lines of our console:Print the word "Code" if x is divisible by 7 but not by 3.
Print the word "Chum" if x is divisible by 3 but not by 7.
Print "CodeChum" if x is divisible by both 7 and by 3.
Otherwise, print "None of the above"
Sample Output 1
Enter an integer: 7
Code
Sample Output 2
Enter an integer: 3
Chum
Sample Output 3
Enter an integer: 21
CodeChum