Using the knowledge in computational language in python it is possible to write a code that write an algorithm to settle the following question.
<h3>Writting the code:</h3>
<em>original = float(raw_input("Enter initial balance: "))</em>
<em>interest = float(raw_input("Enter promised return: "))</em>
<em>expenses = float(raw_input("Enter monthly expenses: "))</em>
<em />
<em>interest = interest / 100 / 12</em>
<em>month = 0</em>
<em>balance = original</em>
<em />
<em>if balance * interest - expenses >= 0:</em>
<em>print "You don't need to worry."</em>
<em>else:</em>
<em>while balance + balance * interest - expenses >= 0: # negation of the if condition</em>
<em>balance = balance + interest * balance # in one month</em>
<em>balance = balance - expenses</em>
<em>month = month + 1</em>
<em>print month, balance</em>
<em />
<em>print month / 12, "years and", month % 12, "months"</em>
See more about python at brainly.com/question/18502436
#SPJ1