all c programs done in lab and flat