Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

cstructCricket

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.22 sec, absolute running time: 0.17 sec, cpu time: 0.01 sec, memory peak: 5 Mb, absolute service time: 0,45 sec 
edit mode |  history  | discussion
Warning(s):
306915484/source.c: In function ‘main’:
306915484/source.c:53:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
 scanf("%5s\t%5s\t%f\n",cric[l].name,cric[l].team,&cric[l].avg);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter team,player name & batting average (5times):
Original list:
Name	Team	Batting Average: 
  Zzz	    A	12.90
  Yhh	    D	20.50
  Sss	    C	30.80
  Bbb	    E	23.70
  Rrr	    B	31.80
Teamwise list:
Name	Team	Batting Average: 
  Zzz	    A	12.90
  Sss	    C	30.80
  Yhh	    D	20.50
  Bbb	    E	23.70
  Rrr	    B	31.80

    
                
λ
.NET NoSQL database for rapid development