fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a,b,c;
  5. scanf("%d,%d,%d",&a,&b,&c);
  6. printf("%d,%d,%d",a,b,c);
  7. if (a<b && b<c){
  8. printf("yes\n",a,b,c);
  9. }
  10. else {
  11. printf("no\n",a,b,c);
  12. }
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5316KB
stdin
50,40,50
stdout
50,40,50no