fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. float first,second;
  5.  
  6. printf("\n please enter first number:");
  7. scanf("%f",&first);
  8. printf("\n now,enter second number: ");
  9. scanf("%f",&second);
  10. float result=first*second;
  11. printf("the produt of the numbers is %f",result);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
 please enter first number:
 now,enter second number: the produt of the numbers is 0.000000