13. Program to Multiply two Floating Point Numbers

void main()
{
float a,b,c;
clrscr();
printf("\n\t enter two floating point");
scanf("%f%f%",&a,&b);
c=a*b;

printf("\n\t multi is %f",c);

getch();
}

Comments

  1. //* 13. Program to Multiply two Floating Point Numbers //
    #include
    #include
    void main()
    {
    float a,b,c;
    clrscr();
    printf("\n\t enter two floating point");
    scanf("%f%f%",&a,&b);
    c=a*b;

    printf("\n\t multi is %f",c);

    getch();
    }

    ReplyDelete
  2. /*Program to Multiply two Floating Point Numbers*/
    #include
    #include
    void main()
    {
    float a,b,c;
    clrscr();
    printf("Enter two number=");
    scanf("%f%f",&a,&b);
    c=a*b;
    printf("Multiplication is=%f",c);
    getch();
    }

    ReplyDelete

Post a Comment