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 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
Get step-by-step solutions from verified subject matter experts
