SlideShare a Scribd company logo
A program contains the following method definition:
public static double calculateGrade(double quiz, double midterm, double final){
return 0.2*quiz + 0.3*midterm + 0.5*final;
}
Write a statement that passes the values 81.5,77.0 and 67.5 to this method as arguments and
assigns its return value to a variable called finalGrade.
Remember to declare the variable finalGrade.

More Related Content

More from LeonardXe4Parsonsp

A researcher for the EPA measureu the amount of arsenic in the water n.docx
A researcher for the EPA measureu the amount of arsenic in the water n.docxA researcher for the EPA measureu the amount of arsenic in the water n.docx
A researcher for the EPA measureu the amount of arsenic in the water n.docx
LeonardXe4Parsonsp
 
A researcher conducted an Independence test by using data consisting o.docx
A researcher conducted an Independence test by using data consisting o.docxA researcher conducted an Independence test by using data consisting o.docx
A researcher conducted an Independence test by using data consisting o.docx
LeonardXe4Parsonsp
 
A report published in one of the national newspapers recently suggests (2).docx
A report published in one of the national newspapers recently suggests (2).docxA report published in one of the national newspapers recently suggests (2).docx
A report published in one of the national newspapers recently suggests (2).docx
LeonardXe4Parsonsp
 
A recent survey of a social media site user statistics had four catego.docx
A recent survey of a social media site user statistics had four catego.docxA recent survey of a social media site user statistics had four catego.docx
A recent survey of a social media site user statistics had four catego.docx
LeonardXe4Parsonsp
 
A recent Gallup pot of 519 adults who few in the past year fotind the.docx
A recent Gallup pot of 519 adults who few in the past year fotind the.docxA recent Gallup pot of 519 adults who few in the past year fotind the.docx
A recent Gallup pot of 519 adults who few in the past year fotind the.docx
LeonardXe4Parsonsp
 
A random sample of n1-251 people who live in a city were selected and.docx
A random sample of n1-251 people who live in a city were selected and.docxA random sample of n1-251 people who live in a city were selected and.docx
A random sample of n1-251 people who live in a city were selected and.docx
LeonardXe4Parsonsp
 
A medical clinic that has multiple doctors- Currently- all patients ar.docx
A medical clinic that has multiple doctors- Currently- all patients ar.docxA medical clinic that has multiple doctors- Currently- all patients ar.docx
A medical clinic that has multiple doctors- Currently- all patients ar.docx
LeonardXe4Parsonsp
 
A random sample of 250 adults are classified below- by sex and their l.docx
A random sample of 250 adults are classified below- by sex and their l.docxA random sample of 250 adults are classified below- by sex and their l.docx
A random sample of 250 adults are classified below- by sex and their l.docx
LeonardXe4Parsonsp
 
A random process has sample functions of the form X(t)-Acos(50t+) wher.docx
A random process has sample functions of the form X(t)-Acos(50t+) wher.docxA random process has sample functions of the form X(t)-Acos(50t+) wher.docx
A random process has sample functions of the form X(t)-Acos(50t+) wher.docx
LeonardXe4Parsonsp
 
A physics class has 50 students- Of these- 14 students are physics maj.docx
A physics class has 50 students- Of these- 14 students are physics maj.docxA physics class has 50 students- Of these- 14 students are physics maj.docx
A physics class has 50 students- Of these- 14 students are physics maj.docx
LeonardXe4Parsonsp
 
A programmer is currently incepting the programming design of an Opera.docx
A programmer is currently incepting the programming design of an Opera.docxA programmer is currently incepting the programming design of an Opera.docx
A programmer is currently incepting the programming design of an Opera.docx
LeonardXe4Parsonsp
 
A population has mean -17 and standard deviation -5- Round the answers (1).docx
A population has mean -17 and standard deviation -5- Round the answers (1).docxA population has mean -17 and standard deviation -5- Round the answers (1).docx
A population has mean -17 and standard deviation -5- Round the answers (1).docx
LeonardXe4Parsonsp
 
A population has a mean -26 and standard deviation -4- What number has.docx
A population has a mean -26 and standard deviation -4- What number has.docxA population has a mean -26 and standard deviation -4- What number has.docx
A population has a mean -26 and standard deviation -4- What number has.docx
LeonardXe4Parsonsp
 
A population has mean -17 and standard deviation -5- Round the answers.docx
A population has mean -17 and standard deviation -5- Round the answers.docxA population has mean -17 and standard deviation -5- Round the answers.docx
A population has mean -17 and standard deviation -5- Round the answers.docx
LeonardXe4Parsonsp
 

More from LeonardXe4Parsonsp (14)

A researcher for the EPA measureu the amount of arsenic in the water n.docx
A researcher for the EPA measureu the amount of arsenic in the water n.docxA researcher for the EPA measureu the amount of arsenic in the water n.docx
A researcher for the EPA measureu the amount of arsenic in the water n.docx
 
A researcher conducted an Independence test by using data consisting o.docx
A researcher conducted an Independence test by using data consisting o.docxA researcher conducted an Independence test by using data consisting o.docx
A researcher conducted an Independence test by using data consisting o.docx
 
A report published in one of the national newspapers recently suggests (2).docx
A report published in one of the national newspapers recently suggests (2).docxA report published in one of the national newspapers recently suggests (2).docx
A report published in one of the national newspapers recently suggests (2).docx
 
A recent survey of a social media site user statistics had four catego.docx
A recent survey of a social media site user statistics had four catego.docxA recent survey of a social media site user statistics had four catego.docx
A recent survey of a social media site user statistics had four catego.docx
 
A recent Gallup pot of 519 adults who few in the past year fotind the.docx
A recent Gallup pot of 519 adults who few in the past year fotind the.docxA recent Gallup pot of 519 adults who few in the past year fotind the.docx
A recent Gallup pot of 519 adults who few in the past year fotind the.docx
 
A random sample of n1-251 people who live in a city were selected and.docx
A random sample of n1-251 people who live in a city were selected and.docxA random sample of n1-251 people who live in a city were selected and.docx
A random sample of n1-251 people who live in a city were selected and.docx
 
A medical clinic that has multiple doctors- Currently- all patients ar.docx
A medical clinic that has multiple doctors- Currently- all patients ar.docxA medical clinic that has multiple doctors- Currently- all patients ar.docx
A medical clinic that has multiple doctors- Currently- all patients ar.docx
 
A random sample of 250 adults are classified below- by sex and their l.docx
A random sample of 250 adults are classified below- by sex and their l.docxA random sample of 250 adults are classified below- by sex and their l.docx
A random sample of 250 adults are classified below- by sex and their l.docx
 
A random process has sample functions of the form X(t)-Acos(50t+) wher.docx
A random process has sample functions of the form X(t)-Acos(50t+) wher.docxA random process has sample functions of the form X(t)-Acos(50t+) wher.docx
A random process has sample functions of the form X(t)-Acos(50t+) wher.docx
 
A physics class has 50 students- Of these- 14 students are physics maj.docx
A physics class has 50 students- Of these- 14 students are physics maj.docxA physics class has 50 students- Of these- 14 students are physics maj.docx
A physics class has 50 students- Of these- 14 students are physics maj.docx
 
A programmer is currently incepting the programming design of an Opera.docx
A programmer is currently incepting the programming design of an Opera.docxA programmer is currently incepting the programming design of an Opera.docx
A programmer is currently incepting the programming design of an Opera.docx
 
A population has mean -17 and standard deviation -5- Round the answers (1).docx
A population has mean -17 and standard deviation -5- Round the answers (1).docxA population has mean -17 and standard deviation -5- Round the answers (1).docx
A population has mean -17 and standard deviation -5- Round the answers (1).docx
 
A population has a mean -26 and standard deviation -4- What number has.docx
A population has a mean -26 and standard deviation -4- What number has.docxA population has a mean -26 and standard deviation -4- What number has.docx
A population has a mean -26 and standard deviation -4- What number has.docx
 
A population has mean -17 and standard deviation -5- Round the answers.docx
A population has mean -17 and standard deviation -5- Round the answers.docxA population has mean -17 and standard deviation -5- Round the answers.docx
A population has mean -17 and standard deviation -5- Round the answers.docx
 

Recently uploaded

CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
IsmaelVazquez38
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
Mohammad Al-Dhahabi
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 

Recently uploaded (20)

CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 

A program contains the following method definition- public static doub.docx

  • 1. A program contains the following method definition: public static double calculateGrade(double quiz, double midterm, double final){ return 0.2*quiz + 0.3*midterm + 0.5*final; } Write a statement that passes the values 81.5,77.0 and 67.5 to this method as arguments and assigns its return value to a variable called finalGrade. Remember to declare the variable finalGrade.