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

  Square of the pearson product correlation coefficient

What are the maximum and minimum values of the square of the Pearson product correlation coefficient (R-squared)? What do these values mean in terms of how the independent and dependent data sets are related?

  Role of emotion in behavior

What is the current behavioral view of the role of emotion in behavior? Do you agree or disagree with this perspective?

  Influence the direction and volume of tourist travel

most used mode of transport for tourism in the world, demand for business class products and services impacts on the development of airports, wide multiplicity of international languages, high-quality airport for the business traveller

  Minor party focused on solving one problem in american life

A minor party focused on solving one problem in american life is

  Perspective on knowledge

Submit analysis that outlines a perspective on knowledge as acquired through exposure to stimuli outside of formal (work or educational) arenas.

  Chances of a person becoming an alcoholic

person brings their own genetics, biology, personality traits and personal stress, and the environment (family, social groups) also ultimately affect the chances of a person becoming an alcoholic.

  Relatively stable set of constructs

Do you have a relatively stable set of constructs about people, or do your constructs vary widely depending on whom you are judging?

  Strength of ethnic identity and self-esteem

What is the best description of the relationship between strength of ethnic identity and self-esteem? A major theme of most date rape prevention workshops

  Are we going about renewable energy in the wrong way

Do you think that economics and environmental goals (renewable energy goals in particular) can work together? In what ways and are we going about renewable energy in the wrong way? What prohibits renewable energy from being efficient? How could we ..

  Developing field in psychology is called positive psychology

A developing field in psychology is called Positive Psychology. It is exploring ways to help people become happier and productive in life. Describe the field of positive psychology and provide your critique of this particular field.

  Onset of post-traumatic stress disorder

Discuss the role of various principles of respondent conditioning in the onset of post-traumatic stress disorder.

  Advantages of master patient indexes

Do you believe the advantages of master patient indexes outweigh disadvantages, or have medical records gone too far in documenting and sharing private information?

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