fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a = 15, b = 8;
  6. if (b > 0)
  7. cout << "a/b" << endl;
  8. else
  9. {
  10. cout << "nie dzielimy przez 0" << endl;
  11. }
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
a/b