Answered step by step
Verified Expert Solution
Question
1 Approved Answer
/ / 2 . Declare an int variable called sum for the sum of the grades / / 3 . Declare a variable called average
Declare an int variable called sum for the sum of the grades Declare a variable called average for the average of the grades Write a formula to calculate the sum of the grades add them up Write a formula to calculate the average of the grades from the type casting. Print out the average
Declare an int variable called sum for the sum of the grades
Declare a variable called average for the average of the grades
Write a formula to calculate the sum of the grades add them up
Write a formula to calculate the average of the grades from the type casting.
Print out the average
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