subject

A bank charges fees and/or gives interest based on the balance of a customer. Write a program that reads the customer balance then calculates and displays the new balance after the application of fees and/or interest based on the following rules: • A negative balance incurs a $50 overdraft fee.
• A balance below $500 (but positive) incur on a $10 maintenance fee.
• A balance from $500 to $1000 (inclusive) gain 0.1% interest.
• A balance over $1000 will gain 2% interest.
1. In the space below, determine the inputs, outputs and error conditions for the problem.
2. In the space bellow, list a thorough set of test cases for your program. Write in the following format [inputs], where the inputs are separated by commas.
3. In the space below, write your algorithm using pseudocode (pseudocode reference sheet under Week 1 resources at https://introcs. cs. rutgers. edu/lectures). If you detect an error condition, end your program.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
question
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 24.06.2019 23:00
Aselect query joins tables together by their a. table names. b. primary keys. c. first entries. d. field names.
Answers: 2
You know the right answer?
A bank charges fees and/or gives interest based on the balance of a customer. Write a program that r...
Questions
question
Mathematics, 18.05.2021 04:00
question
Mathematics, 18.05.2021 04:00
question
Mathematics, 18.05.2021 04:00
question
Biology, 18.05.2021 04:10
question
Mathematics, 18.05.2021 04:10
question
Mathematics, 18.05.2021 04:10
Questions on the website: 13722361