1 / 12

FOOTBALL TEAM WEEKEND PROJECT

FOOTBALL TEAM WEEKEND PROJECT. By Team AK Marcu Vlad Butaru Floryn Dima Marian Strinu Narcis Vaduva Eugen. A fost odata o echipa de fotbal clasata printre primele din E uropa. TITULARI: Vasiloiu Tzucky Coman Cory Zamfir Alexa Constantin Andra Margineanu Raluca

mabyn
Download Presentation

FOOTBALL TEAM WEEKEND PROJECT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FOOTBALL TEAM WEEKEND PROJECT • By Team AK • MarcuVlad • ButaruFloryn • Dima Marian • StrinuNarcis • VaduvaEugen

  2. A fostodata o echipa de fotbalclasataprintreprimele din Europa. TITULARI: VasiloiuTzucky Coman Cory ZamfirAlexa ConstantinAndra MargineanuRaluca Oita Madu BalanSimo Urs Dana Bala Miki NodeaAdelush VacaruOnutza REZERVE: CraciunSefa Ionescu Mariana

  3. Si aveau un antrenor care avea un cap mare si un creiermicsi nu a gasitniciomodalitate de a le aseza in teren, pentru ca jucatorii(fetele) aveau o valoarefotbalisticaasemanatoare.

  4. Si totusi a incercatsagaseasca o metoda de aranjare. Si s-a ganditsi s-a gandit….. Pana la urmagasind o metoda DING!!!!!!!!

  5. A hotaratsa le aseze in teren in ordinealfabetica. Pentruasta a trebuitsainvetesirurile de caractere… Mai intai a realizatcitireanumelorsiapoi le-a introduspetoateintr-un vector… #include<iostream.h> #include<string.h> char s[100][100]; int main() { char *p,aux[100],s1[1000]; inti,n,j; cin.get(s1,100); i=0; p=strchr(s1,','); while(p) { strncpy(s[++i],s1,p-s1); strcpy(s1,p+1); p=strchr(s1,','); } strcpy(s[++i],s1);

  6. Apoi, folosindfunctiilestrcmpsistrcpy, a facut… for(i=1;i<11;i++) { for(j=i+1;j<=11;j++) { if(strcmp(s[i],s[j])>0) { strcpy(aux,s[i]); strcpy(s[i],s[j]); strcpy(s[j],aux); } } }

  7. Cecredeti ca a facut………????????

  8. Exact, a comparatnumelesi le-a ordonat in ordinealfabetica

  9. Apoia afisatfoaia de start sirezervele TITULARI: BalanSimo Bala Miki Coman Cory ConstantinAndra MargineanuRaluca NodeaAdelush Oita Madu Urs Dana VacaruOnutza VasiloiuTzucky ZamfirAlexa REZERVE: CraciunSefa Ionescu Mariana cout<<"TITULARI:"<<endl; for(i=1;i<=11;i++) { cout<<s[i]<<endl; } cout<<endl; cout<<"REZERVE:"<<endl; cout<<s[12]<<endl<<s[13]; }

  10. THE END OF THE STORY

  11. Cu formula aceasta de start au castigatcampionatul intern siLigaCampionilor

  12. Si… n-o savavinasacredeticevaurma…

More Related