Atilim University Department of Computer Engineering CMPE 114 Computer Programming - II 2020-2021 SUMMER Assignment II-Strings & Structures
Atilim University Department of Computer Engineering CMPE 114 Computer Programming - II 2020-2021 SUMMER Assignment II-Strings & Structures
Write a C program that reads basketball players’ information into an array of structures and
find the Most Valuable Player (MVP) of the team by using a function.
• Define a structure for a player. Each player should have a number, name, surname,
along with their points, rebounds, blocks of type integer and efficiency score of type
double.
In the function:
• Write a function named find_mvp which gets two parameters, player p as a structure
and the size of the array.
• The function finds the player with highest efficiency and outputs the name and surname
of that player as MVP.
SAMPLE RUN:
How many players?:3
IMPORTANT NOTES:
• Cheating will NOT be tolerated. Special software will be used to verify if the submitted
homework is your original work or copied from someone/somewhere else. If any case of
cheating is detected, at any time, you will get ZERO from your homework.
• The name of your homework file should be ”surname_name.cpp”.
• You should use indentation and comments in your code.
• You should upload your homework file to the Moodle system until September 1, 2021
Wednesday 23.59 Late homeworks will NOT be graded.
Grading Schema: