in c and using xcode
US UUPUUL U DELU SUUML yuu WUFR. Submit the Hw5p1.c, hw5p2.c and hw5p3.c files only. 1 Compressed File: (20 points) You are given a file named Ascii. Art.Compressed. tert. The file contains integer/character pairs. The integer indicates how many times the character is repeated in decompressed format. For example: the compressed sequence 5A1B2Q would translate to an decompressed sequence of AAAAABQQ. Note: there are no integer values in the decompressed file. Write a C program that reads all of the integer/character pairs in the compressed file, and writes the decompressed sequences to the file Ascii. Art decompressed.tot. 2 Distance Converter: (10 points) All Art Compressed Ascii Art Compressed II-1.2-119 L9T-1.2-TT TE I-81'1-O't'- T ETT.TT 62 ITS CT-2211/IIIT CITITET ZEC/ .I-12-1.1.100 S .1' S1 C.-E.1 EL.I-IZ-1.1.1 S.-E. II.ZZ'C. 28 1/1 1/1 1'11)31'2 111,1 1/2 1/2_1)1 1/1 1(1 111) 1'12 1,1 114 11 1 3 2/12 1)47 1 27 1.11(11 lol 112 11.1-1.1/21)6 1.1 1(11 lol 112 118 1.1-1.1/2 113 111 111 112/1 112 114-1.42 1 27 12 11 1,1 1)31 112 1'111'11)4 12 1(11,1 1)318 112 11111111 111 1(11)11)1/2 1 1 2.1 112 11.40 1 27 112 113 1.3-1.1 111(1 1)2 1)2 2 112 113 1.3-1.9 1>1 111 112 1)2 111 111 1176 111 1'1 1)) 1391 28 112 11-14 1/12 1.2 1.1-11 1/2 1)112 11-14 1/8 1/2 1.2 1.1-13 1.1-11/5 1 1/1 1{1;1;1 1)2 139 1 29 117 1/2 1'1-111-15 1/2 1\7 1/10 1'1-111-113 112 105 112 101 1.1 12 1/40 61 .1-11 -1.1 1.7-1.1 1.7-1.3 1.1-1.1/11 )1 1.1-1.3 1.2-1.2 1.1- 1 1 -1.15 1.5 1-1.3 1.1-71 -1.5 1.5'1-1.3 1.1-71 -1.14 1 5 1/1 15 212 1 1(11)11 112 11 3 112 111 1.1-1.11)1 4 112 112 111 1'1 111 112 113 1/3 1,1-1.2 111 1/1 1,71.1 113 1/3 1,1-1.2 111 1/1 1,7'1.1 1\13 1 41(11'1 111/12-1'111 101_1 lol.1_1121 111 1'1 112 112 1/1 1'1-1'1 11112 1,2 111 112 2111_1 lol 1_11112 111 143 1/2 113 211/1 1.1-1.1/1 1)2 1\12 13 1/2 113 211/1 1.1-1.1/1 12 1\1|131 3 1(1_1 lol 1_111.3 112 111_1,1_1)1 1/11161_1 lol 1_151 1/3 11-111111211111_1 11112 111.111_1,1_1)1/3_117 1.12 1/1 211 111 1'1_1 1.1'1)28 1.12 1/1 21 111 1'111.1112131 4 101_1,1_1)1.1 1'1.1 113 11-1.1-11111101_1.1_111.11 2.1 1.3-1.1 112 1_1(11)1_112 212 112 1.5-1.12 1_1.1-11_1.1-1'221111 111_111 1_1121 1 1.1-111.1-12 21(11 111)1 1 12 13 1 3.1.1-1.2 112 113 115 112 11111 112 112 213 11111111_1 lol 1_112 111 112 1'1-3 1.110 11/12 1.1'5 22 1/1 1.2 111 212 11/12 1.1'5 212 TCITETIT TT/T U ZITTIT CIT/ICT. Tit Titit SIT CIE ZT-TIME 1.T-TT UT TITI TTT) T12 1.1.1.1.1.1 ICT-22 21 LT TIT OTIT ZITT ICE 1.1.1.1.1-1. ZIZI 1 21ST C/1 1/ 1/ t t .TT1. Itt titt TT 6/O Zla 9 TT I CILIT 21. -1.IS 5,16,1 2.1-1 .1-1, 2.1-1.1.1 .1-2.1.1-C. . LLI C. E TP.IT LITTLE TITTEILLIT TIL TITT TSI-STST91. t/lt-IT OTT-T-I'T L'IC'TETT/TT-TTTOTITOLI-TI- 291-111-CTCT-CTC ET I T "T-TT LITET LITRITT-TTTT VEILIT SITT'titzt. II-I'TIT Tott/1617 SEIZ IST TC1. TETTIITT TETT.TTTT CTC CITT.TT.TT/T 8.1 CTTTT T/P 2/tl-I'TIT TIT/ETTET TIIT LITT IZVEITTIT ZIT-t'tttt tittttt nnn n nonmannnnnnnnn