How to get last two digit from a year which a user inputs
问题 I Have been playing with this for while, and I can not seem to get my mind around how I can get this task accomplished. My task : I need get the last two digits of a year that a user has entered. Example : A user enters the July 2 , 2014; I need to get the last two digits of year 2014 which is "14" and divide it by 4. This will give me 3.5; however I will disregard the ".5" and just keep the 3. Research : I have been reading my Textbook, and seen one approach that I may be able to use which