Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do in Java!! Ask the user for their name, the grades they got on 4 homework assignments ( ints ) , m the grades

Please do in Java!!
Ask the user for their name, the grades they got on 4 homework assignments (ints), m the grades they got on 2 quizzes (floats), the grade they got on the final project (float) and the course name, in this order specified.
Calculate the average of the homework assignments (add the 4 homework grades and divide by 4) and print it.
Calculate the average of the quizzes (add the 2 quizzes and divide by 2) and print it.
Using that homeworks are worth 35% of the grade, the quizzes 55% and the final project 10%, calculate the weighted average. The weighted average formula will be (homeworkAverage *0.35)+(quizAverage *0.55)+(projectGrade *0.1). Print it in a sentence with the users name and course name.
Use floats for ALL decimals, including casting.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions