• Total feet (area) of the yard must be converted to square yards for calculation purposes. A Google search for "calculate area of rectangle" and "feet to square yards conversion" will provide the necessary information. There a several ways you might setup your calculations.
• The data types chosen will potentially have a slight affect on the results. The sample output assumes that the street measurement (width), driveway measurement (length), area of the yard, and square yardage are whole numbers; while the lawn service price, lawn service discount, and discounted lawn service price are floating-point values
• Give careful consideration on how named constants can be incorporated into your program for current cost, lawn service cost per square yard, and discount rate; all are assumed to be floating-point values
• It is not necessary to format for a particular number of decimal places at this time or for the dollar sign symbol, $, which is simply embedded in the character string of the print statement
Am I heading in the right direction?
this is the example program I am basing it off of

Comment