Question

(TCOs C-F) List the names of subroutines of the hierarchy chart, and then write complete pseudocode...

(TCOs C-F) 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.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Ausor Given hat Pseudocode- gistaalim giata ntu input studeutcode aud Studeutcode Maud lumbu 74 credits then tulfon Amouut 0

Add a comment
Know the answer?
Add Answer to:
(TCOs C-F) List the names of subroutines of the hierarchy chart, and then write complete pseudocode...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • List the names of subroutines of the hierarchy chart, and then write complete pseudocode for the...

    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: A sporting goods store ships a lot of baseballs. They only have one size shipping-box. Twenty-four baseballs will fill a shipping-box. Produce the pseudocode logic for an algorithm that will compute the number of shipping-boxes required for the number of baseballs to be shipped. The information is given as...

  • Use program control statements in the following exercises: Question 1 . Write pseudocode for the following:...

    Use program control statements in the following exercises: Question 1 . Write pseudocode for the following: • Input a time in seconds. • Convert this time to hours, minutes, and seconds and print the result as shown in the following example: 2 300 seconds converts to 0 hours, 38 minutes, 20 seconds. Question 2. The voting for a company chairperson is recorded by entering the numbers 1 to 5 at the keyboard, depending on which of the five candidates secured...

  • C++ please use only easy code and stdio.h because im just a beginner Description Write the...

    C++ please use only easy code and stdio.h because im just a beginner Description Write the program that can manage the information of students as follows: S 1. This program has two phase; the input phase and the output phase. 2. In an input phase, a teacher inputs the information (name, score, and department) for each student. The total number of students who can be inputted should be defined as a NUM OF_STUDENT constant value. In this example, the value...

  • Question2 uses structured design implemented in C. Array of records (structs) with file I/O is needed....

    Question2 uses structured design implemented in C. Array of records (structs) with file I/O is needed. The program takes two inputs at a time. The name of a person, and, the coin value as an integer in the range 5 to 95. Input coin values should always be divisible by 5 (integer division). Names are one word strings. An example input is: Jane 30 This input line indicates that 30 cents change is to be given to Jane. Output change...

  • ELEC 1520 Homework - Integer Operations, Selection Statements Instructions Write C++ programs to solve the following...

    ELEC 1520 Homework - Integer Operations, Selection Statements Instructions Write C++ programs to solve the following two problems. Upload your source code files to Canvas. The file names must be of the form coins_your_name.cpp and bonus_your_name.cpp for problems 1 and 2, respectively. Substitute your first and last name for "your_name" in the file name. Problem Statements 1. Given a value V in cents, you need to make change using a minimum number of coins. Assume you have an infinite supply...

  • write a C++program to analyze a small subset of the data that has been collected. See...

    write a C++program to analyze a small subset of the data that has been collected. See file universities.txt .Use precisely seven parallel arrays: one for name of university, one for state, one for city, one for yearly tuition, one for enrollment, one for average freshman retention, and one for the percent of students who graduate with in six years. Note that the percentage of student accepted is not stored.An output file is opened in main() and remains open until the...

  • Please!!! need help asap!!!! write a C++program to analyze a small subset of the data that...

    Please!!! need help asap!!!! write a C++program to analyze a small subset of the data that has been collected. See file universities.txt .Use precisely seven parallel arrays: one for name of university, one for state, one for city, one for yearly tuition, one for enrollment, one for average freshman retention, and one for the percent of students who graduate with in six years. Note that the percentage of student accepted is not stored.An output file is opened in main() and...

  • Programming language C. A small U-Pick farm sells five different U-Pick citrus fruit products whose retail...

    Programming language C. A small U-Pick farm sells five different U-Pick citrus fruit products whose retail prices are: 1. Sugarbells - $1.99/lb, 2. Honeybells - $2.39/lb, 3. Red Grapefruit $1.69/lb, 4. Navel Oranges - $1.49/lb, 5. Pomelo - $1.89/lb. Write a program that allows the user to select one or more products, input the weights of each product, and calculate the total amount due. The farm only accepts cash. Your program will take input of the cash received and calculate...

  • Could someone please help me write this in Python? If time allows, it you could include...

    Could someone please help me write this in Python? If time allows, it you could include comments for your logic that would be of great help. This problem involves writing a program to analyze historical win-loss data for a single season of Division I NCAA women's basketball teams and compute from this the win ratio for each team as well as the conference(s) with the highest average win ratio. Background Whether it's football, basketball, lacrosse, or any other number of...

  • complete a 1040 (2019) Donna Jones, an administrative assistant. resides at 123 Main Street, Lawrenceville, NJ...

    complete a 1040 (2019) Donna Jones, an administrative assistant. resides at 123 Main Street, Lawrenceville, NJ V0048. She is single and has no dependents. Her social security number is 123-44-5500. She received $26,159.00 in wages and had $2.200.00 of federal income tax withheld during 2019. Donna also had $390.00 in interest income from her bank account and made $150.00 of charitable contributions during the year. Prepare her 2019 1040. One box UTU Treasury Internal Revenue Service ) U.S. Individual Income...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT