Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #107.40K
~293 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for keval_hack

hi, [CODE] #include<stdio.h> #include<conio.h> struct cricket { char name[10]; char teamname[10]; float batavg; }c1[5]; void main() { int i,j; clrscr(); for(i=0;i<2;i++) { printf("Enter name:"); scanf("%s",c1[i].name); printf("Enter Team Name:"); scanf("%s",c1[i].teamname); printf("Enter Batting avg:"); scanf("%f",&c1[i].batavg); } for(i=0;i<2;i++) { printf("%s\n",c1[i].name); printf("%s\n",c1[i].teamname); printf("%f\n",c1[i].batavg); } getch(); } [/CODE] When i running the above program which …

Member Avatar for chiragkhimani
0
293