Question: Generate a 1 6 - bit integer ( C + + short int ) using three integer values ( year , month, and day )
Generate a bit integer C short int using three integer values year month, and day Its purpose is to create a Microsoft FAT system date. This has three bit fields. write a program which takes a usersupplied date and produces the corresponding FATencoded value. Prompt the user for a month, day, and year. Reject invalid month and day values and end the program with an error message. Reject any year not between and and end the program. Produce your output in hexadecimal.
Sample Input: Enter a month, day, and year between and :
Sample Output: The hexadecimal FAT date is: C
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
