How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLProg Your Own Question

ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9151
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
44910485
Type Your Homework Question Here...
ATLProg is online now
A new question is answered every 9 seconds

Just trying to fix a problem I have in class

Customer Question

Just trying to fix a problem I have in class
Submitted: 1 year ago.
Category: Homework
Customer: replied 1 year ago.
I can't get the Weighted Score to work properly.... I need pointed in the right direction
Expert:  ATLProg replied 1 year ago.

Hello, can you please post the complete assignment having the exact requirements

Customer: replied 1 year ago.
The java program is in the question.txt file. I had to rename it... I could not upload a file with a .java extension
Customer: replied 1 year ago.
The code all works, but I can't seem to get the final line to work. I have commented what the total needs to be to the right of the last line of code
Expert:  ATLProg replied 1 year ago.

Ok. By when you need this

Customer: replied 1 year ago.
Today if possible...it should be really simple, just not for me, a beginner
I think the problem is in just one line
Expert:  ATLProg replied 1 year ago.

I will have it ready soon. Please check in 2 hrs

Customer: replied 1 year ago.
Ok, I check here every 30 min. or so.
Expert:  ATLProg replied 1 year ago.

Ok

Expert:  ATLProg replied 1 year ago.

what is 20 in getexaminfo

Expert:  ATLProg replied 1 year ago.

i will need to know exact requirements to better help..

Customer: replied 1 year ago.
4 assignments worth 5 points each 4 * 5 = 20
20 is max amount that can be earned
Customer: replied 1 year ago.
Basically, at the end of the program, the total of all points does not add up...
Use the following inputsHomework weight - 50
Exam 1 weight - 20
Number of assignments - 3
Assignment 1 score - 14
Assignment 1 max - 15
Assignment 2 score - 16
Assignment 2 max - 20
Assignment 3 score - 19
Assignment 3 max - 25Total points = 65 / 80
Weighted Score = 40.63 - This is where the problem is
Customer: replied 1 year ago.
It should take the 65(total points earned) and / by 80(total max points possible) and * by 50(homework weight) 65/80 = .81 * 50 = 40.63
Customer: replied 1 year ago.
65 comes from 14 + 16 + 19 (all assignment scores above) + 16(4 session at 4 points each)
80 comes from 15 + 20 + 25 (all assignment scores max above) + 20(total posisble session points)
65 / 80 = .81
.81 * 50(homework weight) = Weighted Score of 40.63
Customer: replied 1 year ago.
The problem has to be in the last line figuring the total...
double whs = (double) (totpoints / totmax)* hww;
whs(weighted score)=65(totpoint) / 80(totmax) * 50(hww) = 40.63
Expert:  ATLProg replied 1 year ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.

Related Homework Questions