Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- int luku = 0;
- float pituus,t[5],tulos;
- cout << "Hypyn pituus: ";
- cin >> pituus;
- while ( luku < 5 )
- {
- cout << "Tuomarin " << luku+1 << " pisteet: ";
- cin >> t[luku];
- luku++;
- }
- cout << endl;
- tulos = pituus * 0,9 + t[0] + t[1] + t[2] + t[3] + t[4]
- cout << "Hypyn pisteet: " << tulos << endl;
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement