Cognizant interview question

1. Find average 2. Find percentage