multiple challenges in c