Given the following grading criteria in the form of a logical expression, which set of values will give the student a grade of "A": if ((semesterAverage >= 90 || finalExam >= 90) && labsCompleted > 30) cout <« "Student grade is an A" << endl; int semesterAverage 92; %3D int finalExam = 96; int labsCompleted = 28; int semesterAverage = 92; int finalExam = 85; int labsCompleted = 30; int semesterAverage = 89; int finalExam = 96; int labsCompleted = 32; int semesterAverage = 85; int finalExam = 86:

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter4: Making Decisions
Section: Chapter Questions
Problem 16RQ
icon
Related questions
Question

C++

Given the following grading criteria in the form of a logical expression, which set of values will give the student a grade of "A"?
if ((semesterAverage >= 9o || finalExam >= 90) && labsCompleted > 30)
cout << "Student grade is an A" << endl;
int semesterAverage =
92;
int finalExam = 96;
int labsCompleted
= 28;
int semesterAverage = 92;
int finalExam
85;
%3D
int labsCompleted = 30;
int semesterAverage
= 89;
int finalExam
96;
%3D
int labsCompleted
= 32;
int semesterAverage = 85;
int finalExam
86;
int labsCompleted
33;
Transcribed Image Text:Given the following grading criteria in the form of a logical expression, which set of values will give the student a grade of "A"? if ((semesterAverage >= 9o || finalExam >= 90) && labsCompleted > 30) cout << "Student grade is an A" << endl; int semesterAverage = 92; int finalExam = 96; int labsCompleted = 28; int semesterAverage = 92; int finalExam 85; %3D int labsCompleted = 30; int semesterAverage = 89; int finalExam 96; %3D int labsCompleted = 32; int semesterAverage = 85; int finalExam 86; int labsCompleted 33;
Expert Solution
steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage