Qualifying for a bank loan

Assignment Help Other Subject
Reference no: EM13268857

Qualifying for a Bank Loan

Decision structure inside decision structure:                    

Problem: To determine if a customer qualifies for a bank loan.

Requirements:

Create 2 constants                                                                                         

MIN_SALARY = 30000.0

MIN_YEARS = 2

To qualify for a bank loan, 2 conditions must be must exist:         

The customer must earn at least $30,000 per year

The customer must have been employed for at least 2 years.

Use proper indentation and display appropriate message             

Input: annual salary, years employed

Compute: does customer meet both qualifications for the loan?

Output: See examples: (input shown in bold)

Enter your annual salary: 35000

Enter the number of years employed: 1

You must have been employed for at least 2 years to qualify.

Enter your annual salary: 25000

Enter the number of years employed: 5

You must earn at least $30,000 per year to qualify.

Enter your annual salary: 35000

Enter the number of years employed: 5

You qualify for the loan. 1

Reference no: EM13268857

Questions Cloud

Culture impact the change process : How does organizational culture impact the change process? What role(s) should management play in the change process? What role(s) should individuals play in the change process?
Human change agents often associated with continuous change : Why is human change agents most often associated with continuous change? Why is non-human change agents most often associated with discontinuous change? Is every manager a change agent? Why or why not?
What scandanavian artistic traditions migrated : What scandanavian artistic traditions migrated right into christian art as christianity moved northward
Online shopping and e-commerce transactions : Online Shopping and E-Commerce Transactions. Learn as much as you can about these topics and share your own personal experiences in your discussion.
Qualifying for a bank loan : To determine if a customer qualifies for a bank loan.
Selecting metrics for evaluatingthis capital project : Briefly describe a scenario in which a particular health careorganization is thinking about making a capital investment. Howshould the organization go about selecting metrics for evaluatingthis capital project? Would it rely on one metric or select a..
Differences between trustee-delegate types of representation : Reflecting on the differences between trustee and delegate types of representation and explain the factors that condition this type of behavior by providing at least one example from the of each from the first two House of Cards Episodes season 1
Increase in efficiency would affect costs : Explain how a decrease in input prices or an increase in efficiency would affect costs. The textbok is economics for healthcare managers
Boolean expressions and relational operators : Sam owns an auto repair shop and has several employees. He needs to write a simple payroll program. If an employee works over 40 hours in a week, he gets paid 1.5 times their regular hourly pay rate for all hours over 40.

Reviews

Write a Review

Other Subject Questions & Answers

  Determine the amount of free gas in the reservoir

An oil reservoir initially contains 4 MMSTB of oil at its bubble point pressure of 3150 psia with 600 SCF/STB of gas in solution. When the average reservoir pressure has dropped to 2900 psia, the gas in solution is 550 SCF/STB.

  Examine the influence that legal issues-ethics

Examine the influence that legal issues, ethics, and corporate social responsibility have had on management planning at chosen company. Give at least one example for each.

  Story of woman who recreates her identity

The Color Purple is, among other things, the story of a woman who recreates her identity, describe what role recounting the past plays in this process?

  Effects of moral or legal reasoning on specific decision

Give a brief description of the relationship among and between critical thinking, moral reasoning, legal reasoning, and aesthetic valuing. Then describe the effects of moral or legal reasoning on a specific decision one can made.

  Intrinsic fundamental nature

I pursue the inner, hidden reality, the very essence of objects in their own  intrinsic fundamental nature.” The author of this statement might have  illustrated it with what work of his or her own?

  Converted to state public nuisances laws

What current private nuisance laws should be converted to state public nuisances laws? Why?

  How to assess level of bias and stereotypes in contents

How can you assess level of bias and stereotypes in contents of these texts? Write down your criteria? Is there level of bias you feel is acceptable? If so, how do you address that with students?

  Discussed the need to stop at this point

The radiology report you will find below contains ten medical terminology errors, common spelling errors, incorrect medical terms and incorrect abbreviations.

  Planning stage techniques and planning of formal report

What are some strategies business writers can use to conduct quality research? How else can we apply planning stage techniques and strategies to the planning of a formal report?

  Feasibility of producing organically grown dasheen leaves

Discuss the Feasibility of producing organically grown dasheen leaves. Discuss the Management of the food safety risk in the cassava industry. word limit 250

  Public program payments presents

Public Program Payments presents a breakdown of public program payments for selected years from 1970 through 2009. Describe the situation that the state and local budget officials are facing, in economic terms, as they construct expenditure plans for..

  An organization''s short-term investment options

An organization's short-term investment options for idle cash includes what four areas? List and provide thier characteristics.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd