Amazing Search

Custom Search

Quote for the day!

Oh, life is a glorious cycle of song,
A medley of extemporanea;
And love is a thing that can never go wrong;
And I am Marie of Romania.

Dorothy Parker

Tuesday, May 5, 2009

Laboratory Exercise 11

Take note that you have to use a function with return type.
Use short bondpaper, hand written only.
  1. Write a program which uses a function that return the smallest among three floating point number.
  2. Write a function oriented program to convert an input Fahrenheit into Celsius degree.
  3. 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

  © Blogger template Coozie by Ourblogtemplates.com 2008

Back to TOP