logic of programming 6020514