Available Credit
A
- The customer’s maximum amount of credit
- The amount of credit used by the customer
Once these items have been entered, the program should calculate and display the customer’s available credit. You can calculate available credit by subtracting rhe amount of credit used from the maximum amount of credit.
Want to see the full answer?
Check out a sample textbook solutionChapter 1 Solutions
Starting Out with Java: From Control Structures through Data Structures (3rd Edition)
Additional Engineering Textbook Solutions
Starting out with Visual C# (4th Edition)
Java How to Program, Early Objects (11th Edition) (Deitel: How to Program)
Starting Out with C++: Early Objects
Starting Out with Python (3rd Edition)
Introduction to Java Programming and Data Structures, Comprehensive Version (11th Edition)
Computer Science: An Overview (13th Edition) (What's New in Computer Science)
- (Numerical) Write an assignment statement to calculate the nth term in an arithmetic sequence. This is the formula for calculating the value, v, of the nth term: v=a+(n1)d a is the first number in the sequence. d is the difference between any two numbers in the sequence.arrow_forwardC# onlyarrow_forwardCelsius and Fahrenheit Temperature Converter Python program: This must be done using Tkinter Assuming that C is a Celsius temperature, the following formula converts the temperature to Fahrenheit: F = 5/9C +32 Assuming that F is a Fahrenheit temperature, the following formula converts the temperature to Celsius: C = 5/9(F -32) Create an app that allows the user to enter a temperature. The app should have Button components described as follows: A button that reads Convert to Fahrenheit. If the user clicks this button, the app should treat the temperature that is entered as a Celsius temperature and convert it to Fahrenheit. A button that reads Convert to Celsius. If the user clicks this button, the app should treat the temperature that is entered as a Fahrenheit temperature, and convert it to Celsius.arrow_forward
- Python programming language You will be creating an application to calculate the maximum amount of contribution a person can make to a Roth IRA based on their age and income. Over 50 years old and your contribution limit goes up from $6000 to $7000 dollars. However, if the person is married and the combined household income is over $206,000 a year, or a single person with income over $139,000, you are not allowed to contribute. Write an application that asks the user their age and their income. Using this information use a nested if statement to calculate the maximum allowable contribution.arrow_forwardSoftware Sales A software company sells a package that retails for $99. Quantity discounts are given below: Quantity Discount 10–19 20% 20–49 30% 50–99 40% 100 or more 50% Design a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.arrow_forwardC# and viapplication the user will be able to choose whether to buy a car or not. if user chooses to buy a car the user should selects model and make, purchase price, total deposit, interest rate and estimated insurance premium. the software will calculate total monthly cost of buying the car assume that all the cars will be repaid over 5 years. the software shall notify the user when the total expenses exceed 75% of their income and the expenses will be displayed in descending order by values you must use a genetic collection to store the expenses you are required to use classes and inheritance you must use a delegate to notify the user when expenses exceed 75% of their incomearrow_forward
- Paint Job Estimator A painting company has determined that for every 115 square feet of wall space, 1 gallon of paint and 8 hours of labor will be required. The company charges $20.00 per hour for labor. Create an application that allows the user to enter the square feet of wall space to be painted and the price of the paint per gallon. The program should display the following data: • The number of gallons of paint required • The hours of labor required • The cost of the paint • The labor charges • The total cost of the paint jobarrow_forward:Constant value must be Number O Character .Number or Constant .One of abovearrow_forward44% 2:34 PM Theme Park Ticket Application In holidays, people try to save their time and purchase entrance tickets of the favored theme parks online. This project aims to create a simple and most efficient application that will display a menu to the visitors which contains: 1. Book a ticket The program will display a menu that contains all the ticket prices below, get how many tickets he/she would like to buy, and displays the total price. The ticket Price Child - Under 8 years old 70 USD Adults 110 USD Seiners 50 USD 2. Calculate the price The program should calculate the total price of tickets and display it to the visitor. The program will ask if the visitor is a student, then a discount of 40% is applied to the total price. 3. Exit the application The application should be terminatedarrow_forward
- Traffic light control sequence flowchart A typical traffic light control sequence for a 4 road junction has been described below (for a road system where the vehicles keep to their left while driving i.e. Australia, UK, South Africa etc). The light changes as per the sequence listed below: A. Before switch ON, all 4 roads should get ‘flashing yellow’ so as to enable them to look around and cross the road junction. B. When switched ON, Main roads 1 & 3 should get green signals G1/G3 to go straight. This signal remains on for 30 seconds. C. The above signals should be changed over to go right GR1/GR3 for 15 seconds only if any sensor S1/S3 of vehicles waiting to turn right is detected in the right turn lane . This will take place after a brief yellow signals Y1/Y3 in between. D. In case no vehicle is waiting for right turn, the roads 1 & 3 should be closed with red signals R1/R3 and interim yellow signals Y1/Y3 for 2 seconds. E. The above…arrow_forwardInstructions You are working as a computer programmer for a mortgage company that provides loans to consumers for residential housing. Your task is to create an application to be used by the loan officers of the company when presenting loan options to its customers. The application will be a mortgage calculator that determines a monthly payment for loans and produces an amortization schedule for the life of the loan. The company offers 10-, 15-, and 30-year fixed loans. Inputs The program should initially prompt the user (the loan officer) for the principal of the loan (i.e. the amount that is being borrowed). It should then ask him or her to enter an annual interest rate for the loan. The final input should be the number of years that the loan will be outstanding. Because the company only offers three different terms (10-, 15-, and 30-year loans), the program should ensure that no other terms are entered. Payment Calculator The formula to calculate the monthly payment for a fixed…arrow_forwardSales Tax and Total Create an application that allows the user to enter the amount of a purchase. The program should then calculate the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of purchase plus the total sales tax).arrow_forward
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage LearningProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning