Accenture Interview Question

small online case (easy calculation)