Java programmers please help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Java programmers please help

The ICT faculty has taken a firm decision to assess students using continuous assessment. Consequently, the final mark of PPA115D/TRO115D students will be calculated using the following formula: Final mark = ASSIGNMENT1 * 0.05 + ASSIGNMENT2 * 0.05 + ASSIGNMENT3 * 0.05 + ASSIGNMENT4 * 0.05 + FIRST_BEST_SEMESTER_TEST * 0.2 + SECOND_BEST_SEMESTER_TEST * 0.2 + SUMMATIVE_ASSESSMENT * 0.4 A final mark of 50% and above gives a student a pass, anything else is a fail. Create an application that will allow a student to determine her/his final mark. The application must allow a student to enter percentage marks of the following assessments:  First four assignments  Three semester tests and  Final summative test The application must determine the best two semester tests and include them in the formula. The application must display the final mark and a message that states whether a student has passed or failed. To do Create an application called FinalMarkCalculatorApp.java which will meet the

8th Oct 2020, 2:52 PM
Andiswa
9 Answers
+ 4
From your attempt on the PC, you should be able to copy the code onto Sololearn for demonstration.
10th Oct 2020, 12:06 AM
Sonic
Sonic - avatar
+ 1
Where's your attempt? Also your text is too long.
8th Oct 2020, 2:54 PM
你知道規則,我也是
你知道規則,我也是 - avatar
0
My attempt is on my pc, unfortunately I can't install solo learn on my pc. I am only stuck on the problem of choosing 2 highest numbers in 3 numbers and also having to put them in an equation
8th Oct 2020, 2:56 PM
Andiswa
0
What have you tried so far..? Try first yourself then ask if you struck with posting your try... 1)Take inputs 2)find best among 3. 3)calculate final result. And display pass or fail.. Anything else needed? No. Try it now?
8th Oct 2020, 2:59 PM
Jayakrishna 🇮🇳
0
You can find the smallest number. While comparing the 3 numbers, assign the bigger value to another variable.
8th Oct 2020, 3:00 PM
你知道規則,我也是
你知道規則,我也是 - avatar
0
Jayakrishna🇮🇳 I'm unable to get find the two best umong the three
8th Oct 2020, 3:01 PM
Andiswa
0
CarrieForle just like you showed me?
8th Oct 2020, 3:02 PM
Andiswa
0
if(a<b && a<c) best are b, c; else if(b<c&& b<a) best a, c else a, b best. Just Blindly, may it can be made improvement.. Or Andiswa I think you can use Math.max or Math.min function directly also..
8th Oct 2020, 3:05 PM
Jayakrishna 🇮🇳
0
Okay thank you
8th Oct 2020, 3:08 PM
Andiswa