Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ontrol Statement Flowcharts Flowchart the follwing two problems for homework and upload them to the Drop Box. You may use Microsoft Word or Excel to

image text in transcribed
ontrol Statement Flowcharts Flowchart the follwing 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 SS00 of tuition, a 60% rebate of the second S400 of tuition and a 40% rebate on the next$300 of tuition. Draw the flow chart for a program that computes rebate for an amount of tuition supplied as input Hint: 1 recommend doing this problem "by hand" to determine the mathematics involved in solving this before trying to tell the computer how to do it. That is, fyou had $700 of tuition, how would you go about caleulating the rebate for that amount? Or ifyou had $1000 tuition, what would the rebate be? 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

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions