PROJECT.TXT

Embed Size (px)

Citation preview

#include#includestruct team{char name[30], plr[11][30];int form[3];}t[8],t1,t2;void main(){clrscr();//Top teams in Europes and their All time best XI//Arsenal Squadt[0].name="Arsenal F.C.";t[0].form={4,4,2};t[0].plr[0]="David Seaman";t[0].plr[1]="Tony Adams";t[0].plr[2]="Sol Campbell";t[0].plr[3]="Lee Dixon";t[0].plr[4]="Nigel Winterburn";t[0].plr[5]="Patrick Vieira";t[0].plr[6]="Liam Brady";t[0].plr[7]="Freddie Ljunberg";t[0].plr[8]="Robert Pires";t[0].plr[9]="Dennis Bergkamp";t[0].plr[10]="Thierry Henry";//Real Madrid squadt[2].name="Real Madrid C.F";t[2].form={4,5,1};t[2].plr[0]="Iker Casillas";t[2].plr[1]="Manuel Sanchis";t[2].plr[2]="Fernando Hierro";t[2].plr[3]="Jose Antonio Camacho";t[2].plr[4]="Jose Santamaria";t[2].plr[5]="Alfredo Di Stefano";t[2].plr[6]="Zinedine Zidane";t[2].plr[7]="Francisco Gento";t[2].plr[8]="Raul";t[2].plr[9]="Cristiano Ronaldo";t[2].plr[10]="Ferenc Puskas";//Barcelona Squadt[1].name="F.C. Barcelona";t[1].form={3,4,3};t[1].plr[0]="Andoni Zubizarreta";t[1].plr[1]="Ronald Koeman";t[1].plr[2]="Carles Puyol";t[1].plr[3]="Joan Segarra";t[1].plr[4]="Xavi Hernandez";t[1].plr[5]="Pep Guardiola";t[1].plr[6]="Johann Cruyff";t[1].plr[7]="Ronaldinho";t[1].plr[8]="Lionel Messi";t[1].plr[9]="Cesar Rodriguez";t[1].plr[10]="Laszlo Kubala";//Bayern Squadt[3].name="Bayern Munich";t[3].form={4,4,2}t[3].plr[0]="Sepp Maier";t[3].plr[1]="Franz Beckenbauer";t[3].plr[2]="Hans Georg Schwarzenbeck";t[3].plr[3]="Paul Breitner";t[3].plr[4]="Phillip Lahm";t[3].plr[5]="Stefan Effenburg";t[3].plr[6]="Lothar Matthaus";t[3].plr[7]="Arjen Robben";t[3].plr[8]="Franck Ribery";t[3].plr[9]="Karl-Heinz Rummenigge";t[3].plr[10]="Gerd Muller";//Manchester United squadt[4].name="Manchester United";t[4].plr[0]="Peter Schmeichel";t[4].plr[1]="Roger Byrne";t[4].plr[2]="Nemanja Vidic";t[4].plr[3]="Dennis Irwin";t[4].plr[4]="Duncan Endwards";t[4].plr[5]="Paul Scholes";t[4].plr[6]="George Best";t[4].plr[7]="Bobby Charlton";t[4].plr[8]="Cristiano Ronaldo";t[4].plr[9]="Eric Cantona";t[4].plr[10]="Dennis Law";//AC Milan squadt[5].name="A.C. Milan";t[5].form={4,4,2};t[5].plr[0]="Sebastiano Rossi";t[5].plr[1]="Alessandro Nesta";t[5].plr[2]="Franco Baresi";t[5].plr[3]="Alessandro Costacurta";t[5].plr[4]="Paolo Maldini";t[5].plr[5]="Frank Rijkaard";t[5].plr[6]="Andrea Pirlo";t[5].plr[7]="Gianni Rivera";t[5].plr[8]="Kaka";t[5].plr[9]="Ruud Gullit";t[5].plr[10]="Marco Van Basten";//Liverpool Squadt[6].name="Liverpool F.C.";t[6].form={4,4,2};t[6].plr[0]="Ray Clemence";t[6].plr[1]="Alen Hansen";t[6].plr[2]="Jamie Carragher";t[6].plr[3]="Phil Neal";t[6].plr[4]="Steve Nicol";t[6].plr[5]="Graeme Souness";t[6].plr[6]="Steven Gerrard";t[6].plr[7]="Kenny Dalglish";t[6].plr[8]="John Barnes";t[6].plr[9]="Michael Owen";t[6].plr[10]="Ian Rush";//Juventus Squadt[7].name="Juventus";t[7].form={4,4,2};t[7].plr[0]="Gianluigi Buffon";t[7].plr[1]="Gaetano Scirea";t[7].plr[2]="Claudio Gentile";t[7].plr[3]="Lilian Thuram";t[7].plr[4]="Antonio Cabrini";t[7].plr[5]="Marco Tardelli";t[7].plr[6]="Zinedine Zidane";t[7].plr[7]="Paul Nedved";t[7].plr[8]="Michel Platini";t[7].plr[9]="Alessandro Del Piero";t[7].plr[10]="Roberto Baggio";//Drawing of lots for the cup