Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Multiplication of two Float numbers in C++ Language







In this C++ program we will calculate the multiplication of two numbers(float) and print the result, in the screen. The two numbers will be taken from the user.color>

input:

Two numbers(float). (i.e. 15.4,2.4 etc.)

output:

Multiplication of the given numbers(float) will be printed on the screen.

CODE---->


#include
color>using namespace std;
main()color>
{
float num1,num2,mul;
cout" \n      Enter a Number : "color> ;
cin>>num1;
cout"\n      Enter another Number : " color>;
cin>>num2;
mul=num1*num2;
cout"\n      The multiplication of the Numbers is : " color>mul color>endl color>;
system("pause") ;
}




Don't just read, write it, run it.....color>

RESULT:color>








This post first appeared on ProgramJoy.blogspot.com, please read the originial post: here

Share the post

Multiplication of two Float numbers in C++ Language

×

Subscribe to Programjoy.blogspot.com

Get updates delivered right to your inbox!

Thank you for your subscription

×