Student Scores After Extra Credit Problem
Student Scores After Extra Credit Problem — ExecCode School DSA Practice
Solve the Student Scores After Extra Credit problem on ExecCode. Free online school DSA practice in String. Write and run code in Java, C++, Python — no signup required to run.
Problem description
Given a list of student scores, add 5 extra points to any score that is less than 90. Your task is to solve Student Scores After Extra Credit. Then, print all the modified scores.
Examples
Input 5 85 92 78 95 88; Output 90 92 83 95 93. Input 3 95 98 99; Output 95 98 99
Constraints
1 <= n <= 10^5
Practice Student Scores After Extra Credit free on ExecCode. Browse DSA problems, topic map, and placement guides.