Write a program that takes in 6 exam scores (numbers) from the command line. For
ID: 3638306 • Letter: W
Question
Write a program that takes in 6 exam scores (numbers) from the command line. For each of these exam scores, print out the grade achieved (1.1 if >= 70, 2.1 if < 70 but >= 60, 2.2 if < 60 but >= 50, pass if < 50 but >= 40 and fail if < 40). The program should also calculate the overall average score and print both this and the grade achieved to the command line.b) Amend the program you wrote for part a) to employ a method to print out the grade achieved based on a supplied exam score.