Write a program in QBASIC that asks length, breadth and height. Create a user-defined function to calculate surface area of four walls and write sub-program to calculate surface area of a box. [Hint: surface are of four walls = 2*H*(L+B), surface area of box = l*h+b*h+l*b]
No comments:
Post a Comment