EXERCISE No. 2 Mary Jane would like to invest her money amounting to 100,000 at the bank. Before investing her money, she would like to determine which type of account she will choose. The amount of interest that her money earns depends on which type of account the money is in. The bank has 6 different types of accounts and they earn interest as follows:   ACCOUNT TYPE INTEREST EARNED Personal financial 1.5% Personal homeowner 2.0% Personal gold 2.5% Small business 3.0% Big business 3.5% Gold business 4.0% Mary Jane as a programmer would like to make a program that computes automatically the interest earned of her money in each type of account. QUESTIONS 1. What are the data needed for the solution of the program to produce the desired output? ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ 2. What statements in the program that determines interest earned of each type of account? ______________________________________________________________________________ 3. What was the condition applied to satisfy the requirement? ______________________________________________________________________________ 4. What have you observed in using nested if statement in this program? ______________________________________________________________________________ EXERCISE No.3 A student took four quizzes in a term and would like to compute their average. He also would like to know what will be the remarks. Follow the range of grades and its equivalent remarks, and then fill-up the table below:  100-95 - Excellent 94-90 - Very Satisfactory 89-85 - Satisfactory 84-80 - Fine 79-75 - Fair 74 and below - Poor REQUIREMENTS 1. Write the corresponding algorithm a. Narrative b. Pseudocode 2. Create the equivalent flowchart based on the algorithm of the given problem 3. Construct the program and record your screen display result

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter19: Probabilistic Dynamic Programming
Section19.4: Further Examples Of Probabilistic Dynamic Programming Formulations
Problem 7P
icon
Related questions
Question

EXERCISE No. 2
Mary Jane would like to invest her money amounting to 100,000 at the bank. Before investing her money, she
would like to determine which type of account she will choose. The amount of interest that her money
earns depends on which type of account the money is in. The bank has 6 different types of accounts and
they earn interest as follows:  

ACCOUNT TYPE INTEREST EARNED
Personal financial 1.5%
Personal homeowner 2.0%
Personal gold 2.5%
Small business 3.0%
Big business 3.5%
Gold business 4.0%

Mary Jane as a programmer would like to make a program that computes automatically the interest earned
of her money in each type of account.

QUESTIONS
1. What are the data needed for the solution of the program to produce the desired output?
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
2. What statements in the program that determines interest earned of each type of account?
______________________________________________________________________________
3. What was the condition applied to satisfy the requirement?
______________________________________________________________________________
4. What have you observed in using nested if statement in this program?
______________________________________________________________________________


EXERCISE No.3

A student took four quizzes in a term and would like to compute their average. He also would like
to know what will be the remarks. Follow the range of grades and its equivalent remarks, and then fill-up
the table below: 

100-95 - Excellent
94-90 - Very Satisfactory
89-85 - Satisfactory
84-80 - Fine
79-75 - Fair
74 and below - Poor

REQUIREMENTS

1. Write the corresponding algorithm
a. Narrative
b. Pseudocode
2. Create the equivalent flowchart based on the algorithm of the given problem
3. Construct the program and record your screen display result 

 

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Computational Systems
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT