Pergunta de entrevista da empresa KPIT Technologies

Simple coding questions. Based on datatypes and calculations