Question: Write a java program that will ask the user to enter the number of sides and lenght of sides of a sign then user will

Write a java program that will ask the user to enter the number of sides and lenght of sides of a sign then user will enter a string they prefer on the sign. program will calculate area in square feet of the sign and also count up the number of non blank characters in the string. the program will display the total cost of the sign as output and cost will be computed using $3.68 per square foot and $2.85 per character. Cost will be rounded to three decimal places using printf(). After calculation program should ask user if they would continue or type" quit " to end the program. they can enter anything else to start the loop again by entering new number for sides and lenght.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!