Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 2 Make a Java program called GradeAvg that: 1. Creates 7 double variables named the following way: quizScore1, quizScore2, quizScore3, testScore1, testScore2, quizScoreAvg, and
Exercise 2 Make a Java program called GradeAvg that: 1. Creates 7 double variables named the following way: quizScore1, quizScore2, quizScore3, testScore1, testScore2, quizScoreAvg, and testScoreAvg 2. initializes those variables to % scores (make up some numbers between 0 and 100). 3. Initializes each to the corresponding average by using an appropriate expression. 4. Prints out the values of the variables containing the averages. Make sure to label each value. Exercise 3 Create a new Java program called AgeGuess which 1. Creates a new Scanner object 2. Declares two variables: String name; int ageGuess; 3. Uses the Scanner object's methods to read in the name and ageGuess from the keyboard Make sure to prompt the user for each value. The value entered should be on the same line as the prompt. 4. Displays the ageGuess and name variable values. Make sure to label each. Note:this exercise will be modified in later exercises to make it into an age guessing game
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started