1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alekssandra [29.7K]
3 years ago
5

Our bank needs a tool that will help us in determining credit worthiness of loan applicants. We will enter the following informa

tion to Credit Assist program:
- Monthly Income (income) -

Total Debt (debt) -
Monthly minimum payments for the debt (minPay)

If total debt is more than 6 months monthly income of the applicant (income*6), we cannot grant any loan. Inform user that no loan can be granted. Otherwise, you subtract the minimum monthly debt payment from monthly income. We can allow up to 30% of that amount as loan. credit = (income - minPay) * 0.3

Let user know that the applicant can be approved for upto this (credit) amount.
Computers and Technology
1 answer:
lozanna [386]3 years ago
8 0

Answer:

income = float(input("Monthly Income: "))

debt = float(input("Total Debt: "))

minPay = float(input("Monthly minimum payments for the debt: "))

credit = 0

if debt > (income * 6):

   print("No loan can be granted!")

else:

   credit = (income - minPay) * 0.3

   print("You can be approved for upto $" + str(credit))

Explanation:

*The code is in Python

Ask the user for income, debt, and minPay

Check if the debt is greater than income * 6. If it is, print that no loan can be given. Otherwise, Calculate the credit amount using the given formula and print it

You might be interested in
3. Encode these sentences in ASCII: a. "Stop!" Cheryl shouted. b. Does 2 + 3 = 5?​
Zepler [3.9K]

Answer:

"Stop!" Cheryl shouted.
34, 83, 116, 111, 112, 33, 34, 32, 67, 104, 101, 114, 121, 108, 32, 115, 104, 111, 117, 116, 101, 100, 46

Does 2 + 3 = 5?
68, 111, 101, 115, 32, 50, 32, 43, 32, 51, 32, 61, 32, 53, 63

I got these numbers with this python code:
print([ord(c) for c in '"Stop!" Cheryl shouted.'])
print([ord(c) for c in 'Does 2 + 3 = 5?'])

4 0
3 years ago
Anyone here play sims 4 and know how to help me with his last exception file?
zysi [14]

Answer:

Explanation:

What game is this

3 0
3 years ago
Please answer this correctly what’s the answer opening modify style dialog box enables you to
Aloiza [94]
The answer is all of the above
4 0
4 years ago
The line of code after a line beginning with the word 'else' needs to begin with a(n) ___.
Julli [10]
The answer to your question is D
7 0
2 years ago
How has technology impacted society and education throughout history? What innovation has had the most profound impact on educat
Ganezh [65]
Technology has impacted society and education throughout history by helping save more lives and distroying​ them. I think the innovation that has had the most profound on education is being able to connect with teachers to better help us understand even we are not in school like what I am doing right now.
8 0
3 years ago
Read 2 more answers
Other questions:
  • What are two reasons network devices are typically accessed through a cli?
    12·1 answer
  • Which type of multiple inheritance does Java support?
    15·1 answer
  • What is the best application to keep track of inventory for a store?
    6·1 answer
  • . Why did the designers of the Synchronous Digital Hierarchy choose unusual values for data rates instead of the exact powers of
    11·1 answer
  • There is only one way to change line spacing in Word.
    14·1 answer
  • In Marvel Comics, what imaginary rare metal is an important natural resource of Wakanda, the home country of Black Panther?
    15·1 answer
  • Multiple Choice
    5·1 answer
  • How to unsubscribe from Brainly
    6·2 answers
  • What are the advantages of knowing demographics over psychographics and vice versa?
    12·1 answer
  • Which one of these is NOT an indicator that an email is spam?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!