Question: 9 . consider the following code: int numCredit = 7 5 ; string studentYear; if ( numCredit > = 9 0 ) { studentYear =
consider the following code: int numCredit ; string studentYear; if numCredit studentYear "senior"; if numCredit Console.WriteLinestudent is ready to graduate"; else Console.WriteLinestudent needs more credit hours to graduate"; else Console.WriteLinestudent is not senior"; After this code is executed, which text is displayed?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
