Write a program in QBASIC that ask the radius of circle. Write a program to calculate the area and the circumference of a circle. Create a user-defined function FIRST(r) to calculate area and sub-procedure SECOND(r) to calculate circumference of a circle. [Hint: A = 3.14*r^2, C = 2*3.14*r]
No comments:
Post a Comment