Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Algorithm and program code (each 11 points) 1. Using the following chart, write an if-else-if statement that assigns .10, .15, or .20 to commission, depending

Algorithm and program code (each 11 points)

1. Using the following chart, write an if-else-if statement that assigns .10, .15, or .20

to commission, depending on the value in sales. You ask the name and sales of a sale person then display the sales persons commission.

Sales Commission Rate

Up to $10,000 10%

$10,000 to $15,000 15%

Over $15,000 20%

2. Write a for loop that calculates the total of the following series of numbers:

1/30 + 2/29 + 3/28 +..+ 29/2+ 30/1

Use Raptor software to show the flow chart do the same thing as the assignment statements does.

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

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions

Question

10. Are you a. a leader? b. a follower? _______

Answered: 1 week ago