Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int cos(int dl, int sz=200, int wys=100);
- int main(){
- cout<<cos(10)<<endl;
- cout<<cos(10,20,30)<<endl;
- cout<<cos(10,20)<<endl;
- cout<<cos(10)<<endl;
- system("pause");
- return 0;
- }
- int cos(int dl, int sz, int wys){
- return dl*sz*wys;
- }
Advertisement
Add Comment
Please, Sign In to add comment