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

Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images









