The highest common factor of two numbers is the product of the common prime factors of both numbers. Write a function to find the highest common factor of two input numbers.
(Refactoring) In Chapters 1 and 2, there were exercises to calculate football quarterback pass ratings and then to output the quality of the quarterback.
(a) Write the pass rating as a function. Have the main program prompt for the five inputs and then use those inputs as arguments to the function.
(b) Write the quality rating as a function and add it to the existing program
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here