climate control

My 2003 Tahoe was making a whining noise when the A/C kicked in and was worse when I hit the gas,now it doesn't make that noise and the fan and the A/C in the front quit working. The A/C in the back works,also the A/C in the front had to be on awhile before it got cold but the rear A/C works and has never had that problem. Has anyone had this problem, and could it be the climate control or is it something with the compressor? thank you
0