C++ program to calculate the multiply of two numbers

C++ program to calculate the multiply of two numbers
You will learn about C++ program to calculate the multiply of two numbers  using a function and without function.

For the better understanding of this program you have to know more about the following C++ programming topic(s) :

    C++ function



The formula is to calculate multiply of two numbers is:


productOfNumbers  = firstNumber  * secondNumber

Example#2.0: C++ program to calculate the multiply of two numbers without function:




Output

Enter first number       : 10.25
Enter first number       : 0.01
Product of two numbers   : 0.1025
Press Enter to return to Quincy...

Example#2.1: C++ program to calculate the multiply of two numbers using function:




Output

Enter first number : 10.25
Enter first number : 0.01
Product of two numbers : 0.1025
Press Enter to return to Quincy...

Post a Comment

Previous Post Next Post