Facebook
From a, 1 Month ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 149
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int przeciazona_funkcj(int a, int b)
  6. {
  7.     cout << a*b;
  8. }
  9. int przeciazona_funkcj(string a, int b)
  10. {
  11.     cout<<"Czesc"<<a<<"masz lat:"<<b;
  12.  
  13. }
  14. int main()
  15. {
  16.  
  17.     cout<<"n Witaj wywo�uje: przeciazona_funkcja(Wojtek, 12)n";
  18.     przeciazona_funkcj("Wojtek", 12);
  19.     cout<<"n------------------n";
  20.      cout<<"n Witaj wywo�uje: przeciazona_funkcja(12, 12)n";
  21.      przeciazona_funkcj(12, 12);
  22.      return 0;
  23.      }