C++ program to find square of a float and an integer using inline function

 

Sample Input
Enter an integer:3
Enter a float no.:2.22
Sample Output
Square of integer:9
Square of float:4.9284

You may also like...