Create a function table that models a mortgage approval process. The function should be provided the salePrice (float) of the home and the creditScore (integer) of the buyer. The result of the function should be a String that holds a message for the borrower. If the sale price is under $1,000,000 and the credit score is at least 600 - they buyer is approved. Otherwise, the buyer is not approved. You must include the function table, a screenshot of the code - function and the code to call the function, as well as the output. Note: the function table should be specific with the purpose as well as datatype and description of the input(s)/result. Function Name Purpose Expected Input Expected result Create the Python code that inputs two values from the user and calls this function- output the String result.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
How can I do this descrete maths question
Create a function table that models a mortgage approval process. The function should be
provided the salePrice (float) of the home and the creditScore (integer) of the buyer. The result
of the function should be a String that holds a message for the borrower. If the sale price is
under $1,000,000 and the credit score is at least 600 - they buyer is approved. Otherwise, the
buyer is not approved. You must include the function table, a screenshot of the code -
function and the code to call the function, as well as the output.
Note: the function table should be specific with the purpose as well as datatype and
description of the input(s)/result.
Function Name Purpose
Expected Input
Expected result
Create the Python code that inputs two values from the user and calls this function- output the
String result.
Transcribed Image Text:Create a function table that models a mortgage approval process. The function should be provided the salePrice (float) of the home and the creditScore (integer) of the buyer. The result of the function should be a String that holds a message for the borrower. If the sale price is under $1,000,000 and the credit score is at least 600 - they buyer is approved. Otherwise, the buyer is not approved. You must include the function table, a screenshot of the code - function and the code to call the function, as well as the output. Note: the function table should be specific with the purpose as well as datatype and description of the input(s)/result. Function Name Purpose Expected Input Expected result Create the Python code that inputs two values from the user and calls this function- output the String result.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education