Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

List the names of subroutines of the hierarchy chart, and then write complete pseudocode for the following problem. You will not have to create a

List the names of subroutines of the hierarchy chart, and then write complete pseudocode for the following problem. You will not have to create a data dictionary for this exercise. Problem: Students get a discount on the tuition paid. The discount is based on a student's code and the registered number of course credits. A student with a code "M" for a military job, and registered for more than four credits is eligible for 5% discount on the tuition amount. A student with a code "C" for a corporate employee, and registered for more than six credits is eligible for 4% discount on the tuition amount. Produce the pseudocode logic for an algorithm that will compute the tuition' discount for each student. The information is given as follows: - The output will consist of a screen display showing the student's name, code, and discount received. - The input will consist of the file with records containing the student's name, code, and tuition amount. - The processing will compute the discount received by each student. If the student's code is other than "M" or "C", there should be no discount on the tuition amount. Note: Your solution should contain a mainline, and at least three subroutines.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions