subject

Consider the following method checking whether a student has passing grades: public boolean ispassing(int finalexam, int cumulativeaverage) { /* missing code */ } a student can pass a class if one of the following is true: the final exam is at least 98 the cumulative average is over 60 which of the following correctly replaces /* missing code */ so that the method works as intended? i. if ((finalexam > = 98) || (cumulativeaverage > 60)) return true; return false; ii. boolean pass = false; if (finalexam > = 98) pass = true; if (cumulativeaverage > 60) pass = true; return pass; iii. if (finalexam > = 98 & & cumulativeaverage > = 60) return true; return false; 1. i only 2. ii only 3. i and ii only 4. ii and iii only 5. iii only

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
question
Computers and Technology, 24.06.2019 00:40
To maintain clarity and focus lighting might be needed
Answers: 2
You know the right answer?
Consider the following method checking whether a student has passing grades: public boolean ispassi...
Questions
question
World Languages, 22.07.2019 21:30
question
Geography, 22.07.2019 21:30
question
Mathematics, 22.07.2019 21:30
Questions on the website: 13722367