×

### Let's log you in.

or

Don't have a StudySoup account? Create one here!

×

or

26

0

6

# IT210 - Week 3 Sequential and Selection Processing Control Structure Appendix G fin571

Marketplace > Kaplan University > fin571 > IT210 Week 3 Sequential and Selection Processing Control Structure Appendix G

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

IT210 - Week 3 Sequential and Selection Processing Control Structure Appendix G
COURSE
PROF.
TYPE
Study Guide
PAGES
6
WORDS
KARMA
50 ?

## Popular in Department

This 6 page Study Guide was uploaded by an elite notetaker on Wednesday November 11, 2015. The Study Guide belongs to fin571 at Kaplan University taught by in Fall 2015. Since its upload, it has received 26 views.

×

## Reviews for IT210 - Week 3 Sequential and Selection Processing Control Structure Appendix G

×

×

### What is Karma?

#### You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 11/11/15
Axia College Material Appendix G   Sequential and Selection Process Control Structure  In the following example, the second line of the table specifies that tax due on a salary of  \$2000.00 is \$225.00 plus 16% of excess salary over \$1500.00 (that is, 16% of \$500.00).  Therefore, the total tax is \$225.\$80.00, or \$305.00.  Salary Range in Dollars Base Tax in Dollars Percentage of Excess 1. 0.00­1,499.99 0.00 15 % 1 2. 1,500.00­2,999.99 225.00 16 % 2 3. 3,000.00­4,999.99 465.00 18 % 3 4. 5,000.00­7,999.99 825.00 20 % 4 5. 8,000.00­14,999.99 1425.00 25 % 5 Main Module Declare name as string Declare SalaryAmnt as real Declare Base as real Declare Excess as real Declare Salary as real Declare ReRun as string Call Input Data Module Call Range Module Call Salary1 Module Call Salary2 Module Call Salary3 Module Call Salary4 Module Call Salary5 Module Call Output Module End Main Module Input Data Module Write, “Insert Employee first name” Input FirstName Write, “Insert Employee last name” Input LastName IT 210 Write, “What is the employee salary amount?” Input SalaryAmnt Call Range Module End Input Data Module Range Module If SalaryAmnt < 1,499.99  Then Call Salary1 Module Else If SalaryAmnt < 2,999.99 AND SalaryAmnt > 1,500.00 Then Call Salary2 Module Else If SalaryAmnt < 4,999.99 AND SalaryAmnt > 3,000.00 Then Call Salary3 Module Else If SalaryAmnt < 7,999.99 AND SalaryAmnt > 5,000.00 Then Call Salary4 Module Else If SalaryAmnt < 14,999.99 AND SalaryAmnt > 8,000.00 Then Call Salary5 Module Else Write,” The salary you have entered is way too big. “ Write,” Please enter a salary between 0.00 and 14,999.99.” Call Input Module End Range Module Salary 1 Module Declare Excess as real Declare Salary as Real IT 210 Set Excess = SalaryAmnt * .015  Set Salary = SalaryAmnt ­ Excess Call Output Module End Salary 1 Module Salary 2 Module Declare Base as real Declare Excess as real Declare Salary as real Set Base = SalaryAmnt ­ 225 Set Excess = Base * .16  Set Salary = Base ­ Excess Call Output Module End Salary 2 Module Salary 3 Module Declare Base as real Declare Excess as real Declare Salary as real Set Base = SalaryAmnt ­ 465 Set Excess = Base * .18 Set Salary = Base ­ Excess Call Output Module End Salary 3 Module Salary 4 Module Declare Base as real Declare Excess as real Declare Salary as real IT 210 Set Base = SalaryAmnt ­ 825 Set Excess = Base * .20 Set Salary = Base ­ Excess Call Output Module End Salary 4 Module Salary 5 Module Declare Base as real Declare Excess as real Declare Salary as real Set Base = SalaryAmnt ­ 1425 Set Excess = Base * .25 Set Salary = Base ­ Excess Call Output Module End Salary 5 Module Output Module Declare ReRun as string Declare FirstName as string Declare LastName as string Declare Salary as real Write,” The gross salary for,” FirstName LastName Salary Write, “Would you like to enter more salaries? Enter Y or N” Input ReRun If ReRun = “Y” or “y” Then Call Input Module Else IT 210 If ReRun = “N” or “n” Then End Else Write, “The program is confused and will now self destruct.” End End Output Module Input Test Values: Firstname: George Lastname: Bush Salary: 10,150.00 The gross salary for George Bush 6543.75 Firstname: Bob Lastname: Builder Salary:  5000.00 The gross salary for Bob Builder 3340 Firstname: John Lastname: Smith Salary: 2500 The gross salary for John Smith 1911 IT 210 IT 210

×

×

### BOOM! Enjoy Your Free Notes!

×

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

## Why people love StudySoup

Steve Martinelli UC Los Angeles

#### "There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."

Anthony Lee UC Santa Barbara

#### "I bought an awesome study guide, which helped me get an A in my Math 34B class this quarter!"

Jim McGreen Ohio University

#### "Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Parker Thompson 500 Startups

#### "It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION POLICY

All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email support@studysoup.com

#### STUDYSOUP REFUND POLICY

StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here: support@studysoup.com

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to support@studysoup.com