Pergunta de entrevista da empresa cloudEQ

Write a program to find profit percentage?