Answered You can hire a professional tutor to get the answer.

QUESTION

*Purpose: Calculate the average of three quiz scores. *Determine age in years from age in months. *Use temperature in Celsius to convert to...

*Purpose: Calculate the average of three quiz scores.*Determine age years age months. *Use temperature Celsius to convert to temperature Fahrenheit.*/import java.util.Scanner; { () { Scanner input = Scanner(System.); studentId; quiz1Score; quiz2Score; quiz3Score; averageQuiz; ageInMonths; ageInYears; temperatureInDegreesCelsius; temperatureInDegreesFarenheit;System..println();studentId = input.nextInt();System..println( );quiz1Score = input.nextDouble();System..println();quiz2Score = input.nextDouble();System..println();quiz3Score = input.nextDouble();System..println( );ageInMonths = input.nextInt();System..println();temperatureInDegreesCelsius = input.nextDouble();averageQuiz = (quiz1Score + quiz2Score + quiz3Score)/;ageInYears = (ageInMonths)/;temperatureInDegreesFarenheit = temperatureInDegreesCelsius*+;System..println();System..println();System..println();System..println( + studentId);System..println( + quiz1Score);System..println( + quiz2Score);System..println( + quiz3Score);System..println( + averageQuiz);System..println( + ageInMonths);System..println( + ageInYears);System..println( + temperatureInDegreesCelsius + );System..println( + temperatureInDegreesFarenheit + );
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question