Question: What will be assigned to variable message given the following code fragment? int main() { int num1 - 3; int num2 - 5: double

What will be assigned to variable message given the following code fragment? int main() { int num1 - 3; int num2 - 5: double num3 = 6.0; string message-"; message=gradeltinum2) + gradelt(num1, num2); return 0; string gradelt (double scorePar) { if (scorePar < 60.0) return "Passed"; else return "Failed"; string gradelt (int num1Par, int num2Par) { if (num1Par >3&& num2Par > 3) return "YES": else return "NO";
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
