Question: The following function calculates percentage grade from points earned and total points possible. What's the minimum number of arguments ( inputs ) we must provide

The following function calculates percentage grade from points earned and total points possible. What's the minimum number of arguments (inputs) we must provide to run the calc_grade() function?
calc_grade = function(earned_points, total_points =50){
percentage_grade =(earned_points/total_points)*100
return(percentage_grade)
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!