Question: Task #1 Who is the best! Create a program that will perform the following. It will ask the user for the first players score and
Task #1 Who is the best! Create a program that will perform the following. It will ask the user for the first players score and then ask for the second players score. It will then use this information to display what player had the highest score and what the difference between the two scores were. You code must include the following: Build a function named scoreDifference() that will take two parameters player1s score and player2s score. The function will then use the min and/or max function be sure that it is subtracting the higher value from the lower value. The difference will then be returned.
i have solution also but it is not giving correct output can you check the problem
but it is not giving correct output can you check the problem?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
