fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. char operatie;
  7.  
  8. cin>>operatie;
  9.  
  10. if (operatie=='*')
  11. cout<<"inmultire";
  12. else
  13. if (operatie=='+')
  14. cout<<"adunare";
  15. else
  16. if (operatie=='-')
  17. cout<<"scadere";
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0s 3344KB
stdin
+
stdout
adunare