fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int A = 58;
  6. int B = 61;
  7. float C;
  8. float C1;
  9. C = A*B /10.0;
  10. C1 = (float)((A*B)/10.0);
  11. printf("%.2f\n",C);
  12. printf("%.2f\n",C1);
  13. return 0;
  14. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
353.80
353.80