Laboratory Exercise 11
Take note that you have to use a function with return type.
Use short bondpaper, hand written only.
- Write a program which uses a function that return the smallest among three floating point number.
- Write a function oriented program to convert an input Fahrenheit into Celsius degree.
- Write a function oriented program that calculates the power value of the input base number and exponent number. Then display the power value.
Sample input/output:
Enter base no.: 5 <<<<<<<
Enter exponent no.: 3 <<<<<<<
Power valu: 125 <<<<<<<<
0 comments:
Post a Comment