Advertisement
Guest User

Tu daj cin :p

a guest
Feb 27th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <iostream>
  2. int t;
  3. using namespace std;
  4. float wynik(float n)
  5. {
  6. float iloczyn=1;
  7. iloczyn*=n/3;
  8. return iloczyn;
  9.  
  10. }
  11. int main()
  12. {
  13. int n;
  14. cin>>n;
  15. cout<<wynik(n)<<endl;
  16.  
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement