Question: I need a small program written in C. This is an intro level class so please explain all of your steps with lots of comments

I need a small program written in C. This is an intro level class so please explain all of your steps with lots of comments and keep the technique simple. Thank you. Let me know if you need any other information that isn't present in the picture, but it should be a very simple program. You only need to write one of the options as it states in the photo, not both. I need a small program written in C. This is an intro

5B: Date Info Encryption & Decryption Data format description: The date information is encrypted (i.e., stored) as one integer. Each byte stores month, date, century, and year, in order. For example, 10/8/2018 is stored as OXA081412 (00001010 00001000 00010100 00010010 in binary). We will write a C program to encrypt and decrypt the date information. 1. Encryption: Ask for month, date, year (including century and year), convert the information to one int type number. Output the int number and corresponding 32-bit binary representation. 2. Decryption: Ask for an encrypted integer, output the 32-bit binary representation and the date information. Submission: For the encryption and decryption process, implement at least one. Complete both if you have time. Submit the source code and a screenshot of the output. 5B: Date Info Encryption & Decryption Data format description: The date information is encrypted (i.e., stored) as one integer. Each byte stores month, date, century, and year, in order. For example, 10/8/2018 is stored as OXA081412 (00001010 00001000 00010100 00010010 in binary). We will write a C program to encrypt and decrypt the date information. 1. Encryption: Ask for month, date, year (including century and year), convert the information to one int type number. Output the int number and corresponding 32-bit binary representation. 2. Decryption: Ask for an encrypted integer, output the 32-bit binary representation and the date information. Submission: For the encryption and decryption process, implement at least one. Complete both if you have time. Submit the source code and a screenshot of the output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!