fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int dodawanieTrzechLiczbCalkowitych()
  6. {
  7. short int liczba1, liczba2, liczba3;
  8. int suma = 0;
  9.  
  10.  
  11.  
  12. suma = liczba1 + liczba2 + liczba3;
  13.  
  14. return suma;
  15. }
  16.  
  17. int main()
  18. {
  19. cout << dodawanieTrzechLiczbCalkowitych();
  20.  
  21. return 0;
  22. }
Success #stdin #stdout 0s 15232KB
stdin
liczba1=100;
liczba2=-68;
liczba3=22;
stdout
Standard output is empty