Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Flowchart the following two problems for homework and upload them to the Drop Box. You may use Microsoft Word or Excel to draw the flowcharts.

Flowchart the following two problems for homework and upload them to the Drop Box. You may use Microsoft Word or Excel to draw the flowcharts. I also recommend analyzing the problem before drawing the flowchart.
1. Using multi-alternative Selection Logic
The Enlightened Corporation is pleased when its employees enroll in college classes. It offers them an 80% rebate on the first $500 of tuition, a 60% rebate of the second $400 of tuition and a 40% rebate on the next $300 of tuition. Draw the flowchart for a program that computes the rebate for an amount of tuition supplied as input.
2. Using Repetition Logic with Counters and Accumulators
An instructor wants a program that will compute the percentage of males and females in his class as well as the average age of the students in the class. Input to the program will be a gender code which will be '1' for male students or '2' for female students and the age of each student. After collecting all of the data, the output should include the following:
number of males
number of females
average age of the class
percentage of males
percentage of females
Determine the algorithm and draw the flowchart for a program that will do this.

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

Step: 3

blur-text-image

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

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

=+j on to staff their operations in the global marketplace.

Answered: 1 week ago