Using C code Create a library named SoccerPlayer that defines the soccer player metrics. A player has the following characteristics: - Name: player’s first and last names (a string of 50 characters...




Using C code

Create a library named








SoccerPlayer

that defines the soccer player metrics. A

player has the following characteristics:

-    Name: player’s first and last names (a string of 50 characters max)

-    Age: player’s age

-    Goals: number of goals scored in his/her career.

-    Games: number of games in which the player participated.

Write a header file ‘

SoccerPlayer.h

’ which contains user defined structure

representing a player (

soccer_player_t

)  and functions to accomplish the

following tasks:

-    Scan or read a player’s metrics.

-    Print a player’s metrics as follows (example):

Name: Paul Smith

Age: 35 years

Goals scored: 310 goals in 1200 games









Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here