Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main()
- {
- int a, b, c, x, y;
- std:: cout << "Unesi dimenzije bazena (axbxc) u metrima: ";
- std:: cin >> a >> b >> c;
- std:: cout << "Unesi dimenzije pločice (axb) u centimetrima: ";
- std:: cin >> x >> y;
- std:: cout << "Za popločavanje bazena dimenzija " <<a<< "x" <<b<< "x" <<c<<
- "m sa pločicama dimenzija" <<x<< "x" <<y<< "cm potrebno je "
- <<(((a*100)*(b*100))+(2*(a*100)*(c*100))+(2*(b*100)*(c*100)))/(x*y)<< " pločica.";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment