fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. float a = 1.2, b= 1.4, product;
  5. product=a*b;
  6. printf("product is a float number is : %.2f", product );
  7.  
  8.  
  9. // your code goes here
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
product is a float number is : 1.68