Problem 5: Student Grader (10 points) You\'re a student enrolled in the introduc
ID: 3748267 • Letter: P
Question
Problem 5: Student Grader (10 points) You're a student enrolled in the introductory wait to see what your grade is so you decide to computer science course at UNO and you just can't calculate it on your own. The problem is that average, Lab average, Homework average. verage, Lab average, Homework aveighted average between three different grade types: Test Facts: Test average is worth 40% of final grade Lab average is worth 10% of final grade Homework average is worth 50% of final grade . Input Your solution must take in three numerical inputs positive number. The first input represents the tests average. The second input re homework average. The third input represents the lab average. floating point) with a range from 0.0 to any Output The output should display the student's final average as a numerical score (loating point). Sample Input Sample output 90 80 70 75 100 100 83.0 90.0 0.0Explanation / Answer
import java.util.Scanner; public class StudentGrader { public static void main(String[] args) { Scanner in = new Scanner(System.in); double tests = in.nextDouble(); double homework = in.nextDouble(); double lab = in.nextDouble(); System.out.println((tests*0.4) + (lab*0.1) + (homework*0.5)); } }