Question: This is C programming. please write this code in C programming it should not be count it should be printf Please look at the requirments

This is C programming. please write this code in C programming

it should not be "count" it should be "printf" Please look at the requirments below:

This is C programming. please write this code in C programming it

should not be "count" it should be "printf" Please look at the

% ./a.out Please rise for our national anthem. a name number average (add a player) h (help) q (quit) p (print all players) p number (print a single player) Command: p Player Num Average ======== === ======= Command: a Jack 12 42 Command: a Theresa 40 300 Command: a Babe 3 342 Command: p Player Num Average ======== === ======= Jack 12 .042 Theresa 40 .300 Babe 3 .342 Command: p 40 Player Num Average ======== === ======= Theresa 40 .300 Command: p 99 Player Num Average ======== === ======= Command: a Lou 3 125 The team already has a player #3. Command: p Player Num Average ======== === ======= Jack 12 .042 Theresa 40 .300 Babe 3 .342 Command: z Bad command 'z'. a name number average (add a player) h (help) q (quit) p (print all players) p number (print a single player) Command: h a name number average (add a player) h (help) q (quit) p (print all players) p number (print a single player) Command: q 

requirments below: % ./a.out Please rise for our national anthem. a name

CS157 HW2: Baseball! For this assignment, you will write a program called bb.c, which will help you manage your baseball team You don't have to keep track of much: each player has a name, a player number, and a batting average. Data Structures You must store the team as an array of structures. The array must not be a global variable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!