Facebook
From Small Motmot, 1 Week ago, written in C++.
Embed
Download Paste or View Raw
Hits: 30
  1. /*11.09.2019 Drugi program - Skok w dal
  2.  
  3.  
  4.  
  5. MŇö W lekkoatletyce
  6.  
  7. _______________________
  8. LP
  9.  
  10.  
  11.  
  12.  
  13.  
  14. */
  15. #include <iostream>
  16. using namespace std;
  17.  
  18. main() {
  19.         float a1=7.86,a2=7.45,a3=8.01,
  20.               b1=7.56,b2=7.98,b3=8.01,
  21.               c1=6.99,c2=6.89,c3=5.98,
  22.               d1=5.01,d2=6.98,d3=7.96,
  23.               e1=7.33,e2=8.01,e3=8.21;
  24.         cout << "KLASYFIKACJA SKOK W DAL 2019" <<endl;
  25.         cout << "-----------------------------------------------------------------------------" <<endl;
  26.         cout << "LP | \tZawodnik         \t| Kraj | I skok | II skok | III skok | SUMA |"<<endl;
  27.         cout << "-----------------------------------------------------------------------------"<<endl;
  28.         cout << "1  | \tMiltiadis Tendoglu    \t| GRE  |  "<<a1<<"  |   "<<a2<<"  |   "<<a3<<"   | "<<(a1+a2+a3)<<"|"<<endl;
  29.         cout << "2  | \tMarcell Jacobs        \t| ITA  |  "<<b1<<"  |   "<<b2<<"  |   "<<b3<<"   | "<<(b1+b2+b3)<<"|"<<endl;
  30.         cout << "3  | \tEusebio C√°ceres       \t| ESP  |  "<<c1<<"  |   "<<c2<<"  |   "<<c3<<"   | "<<(c1+c2+c3)<<"|"<<endl;
  31.         cout << "4  | \tHenri V√§yrynen        \t| FIN  |  "<<d1<<"  |   "<<d2<<"  |   "<<d3<<"   | "<<(d1+d2+d3)<<"|"<<endl;
  32.         cout << "5  | \tTomasz Jaszczuk       \t| POL  |  "<<e1<<"  |   "<<e2<<"  |   "<<e3<<"   | "<<(a1+a2+a3)<<"|"<<endl;
  33.         cout << "-----------------------------------------------------------------------------"<<endl;
  34. }
  35.