Write a QBASIC program that calculates the area of a circle, a rectangle and a triangle. The program should allow the user to select the shape (C or c for circle, R or r for Rectangle, T or t for Triangle) whose area he or she wants calculated. It should then accept the dimensions of the shape, and calculate and print the area . The table below details the formula and dimensions to use for each of the shapes.

3 answers

area of a circle
write a QBASIC to find the area of circle
Very poor answer