Pergunta de entrevista da empresa Blue Origin

I had to do a C coding challenge