Here is my program which will not compile:
---------------------------------------------------
//9/29/2011
//Assignment 3
//Program for computing the total cost of a window molding design
I am using Bloodshed Dev-C++ , if that matters, and I am very new to this and not sure what is missing here.
Any help would be GREATLY appreciated.
Instructions for this program:
Builders, Inc. needs a program that allows the company's salesclerks to compute the cost of a special window molding they make and sell. It is for double windows that consist of a half-circle shaped window and a square window.
The top part is a half-circle, the bottom is a square. They may be 2 different sizes, as shown (not shown). Molding is to be placed over all lines - i.e. 4 sides of a square, 1 curved top and its' straight bottom.
The user should be prompted to enter the half-circle diameter (D) in feet, the square side length (L) in feet and the cost per foot of the railing. The total linear feet should be computed, along with the total cost which is to include an 8% sales tax. Total linear feet and total cost are to then be output and the program should stop.
Notes for this program:
All inputs may include decimals.
Use 3.1415 for the value of PI, as a constant.
Display total linear feet with 2 decimal places.
Display total cost with a dollar sign and 2 decimal places.
-ase