asmodeus94

parDom

Oct 2nd, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int cos(int dl, int sz=200, int wys=100);
  6.  
  7. int main(){
  8.     cout<<cos(10)<<endl;
  9.     cout<<cos(10,20,30)<<endl;
  10.     cout<<cos(10,20)<<endl;
  11.     cout<<cos(10)<<endl;
  12.     system("pause");
  13.     return 0;
  14. }
  15. int cos(int dl, int sz, int wys){
  16.     return dl*sz*wys;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment