Friday, September 12, 2014

Exercise get()/puts()...


1.   Write a program to accept and add three numbers.



2.  For the following values, write a program to evaluate the expression:


z = a*b+(c/d)-e*f ;


  a=10
  b=7
  c=15.75
  d=4
  e=2
  f=5.6      


3. Write a program to evaluate the area and perimeter of the rectangle:


4.  Write a program to evaluate the volume of a cylinder.






No comments:

Post a Comment