Question: step 1 of 2 A Program Plan: - Create a class called WhenProfitable. - Set number of years, YEARS-20 . Set estimated gross profit, grossProfit-20000

 step 1 of 2 A Program Plan: - Create a class

step 1 of 2 A Program Plan: - Create a class called WhenProfitable. - Set number of years, YEARS-20 . Set estimated gross profit, grossProfit-20000 - Set estimated expenses, expenses-35000 . Calculate gross profit with 10 percent increase in each year . Calculate expenses with 4 percent increase in each year . Calculate net profit. Check if net profit is positive then set year of profitable - Print year at which profit is reported at end of the 20 years

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!