fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("ciao giulio \n");
  5. float valore_misurato = 1.5;
  6. float start = 1.2;
  7. float stop = 0.6;
  8. if (valore_misurato >= start){
  9. printf("RUN \n");
  10. }
  11. if (valore_misurato <= stop){
  12. printf("STOP\n");
  13. }
  14. printf("livello vasca %f", valore_misurato);
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
ciao giulio 
RUN 
livello vasca 1.500000