I have an assignment for my programming class that requires me to " use switch in this exercise)
Write a C++ program that asks for a number between 15 and 256. Use the digit of ones of the generated number to display one of the following messages :
“Valencia Community college” if the digit of ones is divisible by 5, equal to 3 or 4
“UCF” is the digit of ones is greater than 5
“Colonial High” is the digit of ones is either 1 or 2
"
the problem is that i have no idea how to isolate the ones place of an integer and use it for a switch statement. Any help on doing this will be much appreciated.