fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. char a = 'C';
  6. char b = 'R';
  7. char c = 'M';
  8. if (b > c) {
  9. cout << a - c << ". ";
  10. }
  11. if (a > b) {
  12. cout << b<< " ";
  13. }
  14. if (a > c) {
  15. cout << a - c<< " ";
  16. }
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
-10.