functions in c hackerrank

visit shbcf.ru