This is my C code of software college homework