fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main(void) {
  5. float bath = 420.0 ;
  6. float dollars = 0.0 ;
  7.  
  8. dollars = bath/34.7 ;
  9.  
  10. dollars = ceil(dollars) ;
  11.  
  12. printf(ā€œ%.2f bath = %.2f dollars \nā€,bath,
  13.  
  14. return 0;
  15. }
  16.  
  17.  
Success #stdin #stdout 0.03s 25840KB
stdin
Standard input is empty
stdout
#include <stdio.h>
#include <math.h>

int main(void) {
    float bath = 420.0 ;
    float dollars = 0.0 ;
     
    dollars = bath/34.7 ;

    dollars = ceil(dollars) ;

    printf(“%.2f bath = %.2f dollars \n”,bath,

    return 0;
}