mr Alex I have a problem with a program our prof gave a take home mid term , but Ididn't know how to solve it
this is the prob ::::::::::::::::
Problem: Write a C++ program that read a KSU student ID and display his admission year (when the student entered the KSU). For example: if the student ID 201206681, the student admission year is 2012 H. Make a looping so that the program will do similar task (read again student ID and display the admission year) until the user decides to exit. Assumption: the KSU student ID always in 9 digits, with the first digit is 4, for example 2XXXXXXXX (without space).
Hits: Make your own code with your programming style (you can use function or not, up to you). Your output program can be similar to figure 1 (you can modify whatever you one). Do some mathematic operations (such as: addition, subtraction, multiplication, division, rounding, etc.. ) to determine the admission year from the KSU ID.
idid the program but I cuoldn't do the loops
if you can help me , please
give your help