Problem Statement - Function overloading – Inch to centimeter conversion
Write two overloaded functions as follows:
Function 1:
Convert integer input parameter which is a number given as inches of some measurement to a double number which is of centimeter measurement
Function 2:
Convert double input parameter which is a number given as inches of some measurement to a double number which is of centimeter measurement
use conversion formula as 1 inch = 2.54 cm.
Also show the implementation of both the functions in the main routine.
Solution
Created: 26-Aug-2018 02:08 | Updated: 26-Aug-2018 02:09|
