1) Write a method named average3 that accepts three integers as parameters and r
ID: 3620616 • Letter: 1
Question
1) Write a method named average3 that accepts three integers as parameters and returns the average of the three values. For example, the call average3(15, 22, -1) should return 12.0.2) Write a method named grade that accepts an integer parameter representing a student's course grade from 0 to 100, and returns the student's course grade on the 4.0 scale. Use the following mapping: (Note: This mapping is fictional and does not represent how we will assign actual grades in this course!)
Score ? 60 61 62 63 ... 98 99 100
Grade 0.0 0.1 0.2 0.3 ... 3.8 3.9 4.0
Explanation / Answer
please rate - thanks in the future 1 question per post (CRAMSTER rule) -------------------------------Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.