Menu [1] Compress A File [2] Decompress A File [3] Exit Input your choice: Menu [1] Compress A File [2] Decompress A File [3] Exit Input your choice: 1 Compress A File Enter the location of the file...


Create a
C program
to locate a file and compress and decompress it.


Must include or consider the ff:



  • Data Structures(list/array/tree/graph)

  • Time Complexity



Note: Only in
C program
please, the comments will be really helpful, Thank you!




Sample Output: (attached photo)


Menu<br>[1] Compress A File<br>[2] Decompress A File<br>[3] Exit<br>Input your choice:<br>Menu<br>[1] Compress A File<br>[2] Decompress A File<br>[3] Exit<br>Input your choice: 1<br>Compress A File<br>Enter the location of the file you want to compress: E:\documents\text.txt<br>Compressing the file.<br>Done!<br>Menu<br>[1] Compress A File<br>[2] Decompress A File<br>[3] Exit<br>Input your choice: 2<br>Decompress A File<br>Enter the location of the file you want to decompress: E:\documents\text.zip<br>Decompressing the file.<br>Done!<br>Menu<br>[1] Compress A File<br>[2] Decompress A File<br>[3] Exit<br>Input your choice: 3<br>Enter any key to exit the program<br>

Extracted text: Menu [1] Compress A File [2] Decompress A File [3] Exit Input your choice: Menu [1] Compress A File [2] Decompress A File [3] Exit Input your choice: 1 Compress A File Enter the location of the file you want to compress: E:\documents\text.txt Compressing the file. Done! Menu [1] Compress A File [2] Decompress A File [3] Exit Input your choice: 2 Decompress A File Enter the location of the file you want to decompress: E:\documents\text.zip Decompressing the file. Done! Menu [1] Compress A File [2] Decompress A File [3] Exit Input your choice: 3 Enter any key to exit the program

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here