Question: (in php) i am trying to compare the current scenario and previous scenario to determine if the monthly payment is greater than or equal to

 (in php) i am trying to compare the current scenario and

(in php) i am trying to compare the current scenario and previous scenario to determine if the monthly payment is greater than or equal to 50 so i can display an image.

for instance s1 - 8337 and s2 - 8345

s2 is not >= by 50 so i then check s2 & s3 and so on...

need general idea

1,000,000 Loan Scenarios S: Scenario 1000000 L: Loan Amount 5 % M: Monthly Payments calculate S: L: 1,000,500.00 M: 8,337.50 S: 2 L: 1,001,500.00 M: 8,345.83 S: 3 L: 1,003,000.00 M:8,358.33 S: 4 L: 1,005,000.00 M: 8,375.00 S: 5 L: 1,007,500.00 M:8,395.83 S: 6 L: 1,010,500.00 M: 8,420.83 S: 7 L: 1,014,000.00 M: 8,450.00 S: 8 L: 1,018,000.00 M: 8,483.33 S: 9 L: 1,022,500.00 M: 8,520.83 S: 10 L: 1,027,500.00 M: 8,562.50 S: 11 L: 1,033,000.00 M: 8,608.33 S: 12 L: 1,039,000.00 M: 8,658.33 S: 13 L: 1,045,500.00 M:8,712.50 S: 14 L: 1,052,500.00 M: 8,770.83 S: 15 L: 1,060,000.00 M:8,833.33 S: 16 L: 1,068,000.00 M: 8,900.00 S: 17 L: 1,076,500.00 M: 8,970.83 S: 18 L: 1,085,500.00 M: 9,045.83 S: 19 L: 1,095,000.00 M:9,125.00 S: 20 L: 1,105,000.00 M: 9,208.33 S: 21 L: 1,115,500.00 M: 9,295.83 S: 22 L: 1,126,500.00 M: 9,387.50 S: 23 L: 1,138,000.00 M: 9,483.33 S: 24 L: 1,150,000.00 M: 9,583.33 S: 25 L: 1,162,500.00 M: 9,687.50 o 1,000,000 Loan Scenarios S: Scenario 1000000 L: Loan Amount 5 % M: Monthly Payments calculate S: L: 1,000,500.00 M: 8,337.50 S: 2 L: 1,001,500.00 M: 8,345.83 S: 3 L: 1,003,000.00 M:8,358.33 S: 4 L: 1,005,000.00 M: 8,375.00 S: 5 L: 1,007,500.00 M:8,395.83 S: 6 L: 1,010,500.00 M: 8,420.83 S: 7 L: 1,014,000.00 M: 8,450.00 S: 8 L: 1,018,000.00 M: 8,483.33 S: 9 L: 1,022,500.00 M: 8,520.83 S: 10 L: 1,027,500.00 M: 8,562.50 S: 11 L: 1,033,000.00 M: 8,608.33 S: 12 L: 1,039,000.00 M: 8,658.33 S: 13 L: 1,045,500.00 M:8,712.50 S: 14 L: 1,052,500.00 M: 8,770.83 S: 15 L: 1,060,000.00 M:8,833.33 S: 16 L: 1,068,000.00 M: 8,900.00 S: 17 L: 1,076,500.00 M: 8,970.83 S: 18 L: 1,085,500.00 M: 9,045.83 S: 19 L: 1,095,000.00 M:9,125.00 S: 20 L: 1,105,000.00 M: 9,208.33 S: 21 L: 1,115,500.00 M: 9,295.83 S: 22 L: 1,126,500.00 M: 9,387.50 S: 23 L: 1,138,000.00 M: 9,483.33 S: 24 L: 1,150,000.00 M: 9,583.33 S: 25 L: 1,162,500.00 M: 9,687.50 o

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 Finance Questions!