c programming 1

c programming assignment needed ASAP

as a c file 

check the attached documents