Вы находитесь на странице: 1из 9

PROCESSING STEPS

Applicant Name
BEGIN
DISPLAY (enter Applicant Name) Angelique Foo
ACCEPT (Applicant Name) Angelique Foo
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
BEGIN
DISPLAY (enter Applicant Name)
ACCEPT (Applicant Name)
DISPLAY(enter gross income)
ACCEPT (gross income)
DISPLAY(enter salary deductions)
ACCEPT(salary deductions)
DISPLAY( enter housing community)
ACCEPT(housing community)
Net Income = Gross Income - Salary Deductions
if housing community is 'providence gardens' and net income >=5500 then
DISPLAY(qualified)
if housing community is 'providence gardens' and net income <5500 then
DISPLAY(not qualified)
else
DISPLAY(we will now check if you are approved)
DISPLAY(enter expenses)
ACCEPT (expenses)
DISPLAY(enter repayments)
ACCEPT(repayments)
sum is repayments + expenses
balance= net income - sum
if balance>= half net income then
DISPLAY (approved)
else
DISPLAY (not approved)
end;
END.
INPUT
Gross Income Salary Deductions Housing Community Net Income Status Expenses

$ 20,000
$ 20,000
$ 20,000 $ 11,455.00
$ 20,000 $ 11,455.00
$ 20,000 $ 11,455.00 Sangre Grande Villas
$ 20,000 $ 11,455.00 Sangre Grande Villas
$ 20,000 $ 11,455.00 Sangre Grande Villas $ 6,090.00
Sangre Grande Villas $ 6,090.00
Sangre Grande Villas $ 6,090.00 Not Qualified
Sangre Grande Villas $ 6,090.00 Not Qualified
$ 6,090.00
$ 6,090.00
$ 6,090.00
$ 6,090.00 $ 1,215.00
$ 6,090.00 $ 1,215.00
$ 6,090.00 $ 1,215.00
$ 6,090.00 $ 1,215.00
$ 6,090.00 $ 1,215.00
$ 6,090.00
$ 6,090.00
OUTPUT
Loan Repayments Balance Approved Status

$ 4,995.00
$ 4,995.00
$ 4,995.00
$ 7,555.00
$ 7,555.00
Approved

Вам также может понравиться