Untitled document - Google Docs

1 answer below »
in c lang only


Untitled document - Google Docs
Answered 4 days AfterMay 15, 2021

Answer To: Untitled document - Google Docs

Chirag answered on May 20 2021
145 Votes
#include
#define MAX 12
float avg[MAX];
struct bsbl
{
    char name[20];
    int single;        
//single==1
    int doub;        //double==2
    int tripple;        //Triple==3
    int home_run;        //home_run=4
    int at_bats;        //Number of ball try to attempt
};
void swap(struct bsbl ply[]);
void main()
{
    struct bsbl player[MAX];
    int i,sum=0,hits[MAX];
//    float avg[MAX];
    printf("Enter Detail of Players:\n");
    for(i=0;i    {
        printf("\n\nScan Data for %d player:\nEnter Player...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here