Provide valid reasons why the pseudocode is now more


Easy Credit evaluates the credit limit of people based on their income and past credit limits. Based on these inputs, calculations are performed to ascertain the credit worthiness of the customer. The following is a pseudocode that will help them automate the system of checking the credit worthiness and then printing out the results so that Easy Credit's manager can make a decision on the limit to be given to the customer:

start

read Customer_Name
perform Calculate_SafetyLevel()
perform Evaluate_History()
print Customer_Name
print 'Credit History of' Client_Name 'is' History
print 'Safety Level of' Client_Name 'is' Safety_Level

stop

Calculate_SafetyLevel()

read Customer_Income
if Customer_Income >= $5000

Safety_Level = Excellent

elseif Customer_Income >= $3000

Safety_Level = Good

elseif Customer_Income >= $1500

Safety_Level = Ok

endif

return

Evaluate_History()

read Customer_History

if Customer_History = Clean

History = Good

elseif Customer_History = Pending_Balance

History = OK

elseif Customer_History = Defaulted

History = Risky

endif

return

* Modify the pseudocode and optimize it.

*Provide valid reasons why the pseudocode is now more efficient.

Solution Preview :

Prepared by a verified Expert
Programming Languages: Provide valid reasons why the pseudocode is now more
Reference No:- TGS01256877

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)