Question: 1 . Write a function that accepts the name and grade of the student. Grade distribution should be the following: A: Score > = 9
Write a function that accepts the name and grade of the student. Grade distribution should be the
following:
A: Score
B: Score
C: Score
D: Score
The function should return the following if called
studentgradeJohn
Output:
The grade of John is B
The program should also print congratulations if the students grade is A
studentgradeLaura
Output:
Congratulations!
The grade of Laura is A
Write a function that calculates the square root of a number. The function should employ the ifelse
function. If the value contained in x is negative it should return NA
Select any alphabets from English letters without repetition.
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
