CSU Programming Project

This week we will implement “if statements” in a program by modifying our program from week 3. In week 2 we calculated the total cost of fiber cable installation by multiplying the number of feet by $.87. This week we will evaluate a bulk discount. Modify your week 3 program so that if the user purchases more than 100 feet they are charged $.80 per foot. If the user purchases more than 250 feet they will be charged $.70 per foot. If they purchase more than 500 feet they will be charged $.50 per foot.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Steps:

  1. Display a welcome message for your program.
  2. Get the company name from the user.
  3. Get the number of feet of fiber optic to be installed from the user.
  4. Evaluate the total cost based upon the number of feet requested.
  5. Display the calculated information including the number of feet requested and company name.

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER