C/F exchange

hmework 1.1