In C program Create a library named NBAPlayer that defines an NBA player metrics. A player has the following characteristics: - FName: Player’s first name (a string of 25 characters max) - LName: Player’s last name (a string of 25 characters max) - Points: Number of points scored in his/her career. Write a header file ‘NBAPlayer.h’ which contains user defined structure representing a player (nba_player_t) and functions to accomplish the following tasks: - Function scan_nba_player( ) to read a player’s metrics. - Function compare_players_points( ) to compare two players points. - Function print_nba_player( ) to display a player as follows (example): First Name: Michael Last Name: Jordan
In C program
Create a library named NBAPlayer that defines an NBA player metrics. A
player has the following characteristics:
- FName: Player’s first name (a string of 25 characters max)
- LName: Player’s last name (a string of 25 characters max)
- Points: Number of points scored in his/her career.
Write a header file ‘NBAPlayer.h’ which contains user defined structure
representing a player (nba_player_t) and functions to accomplish the following
tasks:
- Function scan_nba_player( ) to read a player’s metrics.
- Function compare_players_points( ) to compare two players points.
- Function print_nba_player( ) to display a player as follows (example):
First Name: Michael
Last Name: Jordan
Points scored: 32292
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)