首页 > > 详细

辅导data structure编程、R编程解析、辅导Computer Applications for Business

CS170 – Computer Applications for Business
Spring 2018 • Assignment 5
Due Date: Before 11:55 p.m. on Friday, March 2nd, 2018
Accept Until: Before 11:55 p.m. on Friday, March 9th, 2018
Evaluation: 20 points
Submit to
Sakai:
Assignment5.docx file
To earn credit for this assignment:
1. You will solve the two problems detailed below by creating two
flowcharts with corresponding pseudocode for each of the flowcharts.
2. Each flowchart and each pseudocode should be on its own separate
page on a Word file. Therefore, the total number of pages to be
included is 4.
3. For this assignment the use of formulas is not required. Just indicate
which calculation needs to be processed on process symbols.
4. The flowcharts should be created using draw.io – or similar tool -and
then exported into image files.
5. Hand drawings – or pictures of hand drawings - cannot be used as
part of the submission
6. Upload and submit a single Word file (.docx format) containing the
flowcharts (inserted as pictures) and corresponding pseudocode
required.

Learning Objectives:
This assignment is designed to gain proficiency in the creation of flowcharts
and pseudocode that may be used to create computer algorithms later on.

Page 1 of 2
Directions:
Price Calculator
Create a flowchart and pseudocode for a program that will calculate the
final price that a customer will pay for a product based on an initial price,
membership on the Store Club and customer’s state of residence. The
company serves customers in New York and New Jersey. The components of
the final price are the initial price, discount, shipping charge and tax.
The discount - 10% of the initial price - is given only to the members of the
Store Club. The shipping charge is $5 for New Jersey customers and $3 for
New York customers. The tax – applied to the sum of the discounted price
plus shipping charge – is 8% for New York customers and 7% for New Jersey
customers. The output of the program will be the final price.
Tax Returns
A software company wants to produce a tax return program to help citizens
of a foreign country to calculate their taxes owed. You will produce a
flowchart and pseudocode to help the company with the creation of their
program.
The tax laws on the foreign country are as follows:
For citizens younger than 21, the tax applied is one of the following:
8% for income up to $20,000.
12% for income greater than $20,000 up to $50,000.
20% for income greater than $50,000.
For citizens 21 years old or older, the tax applied is one of the following:
10% for income up to $20,000.
15% for income greater than $20,000 up to $35,000.
25% for income greater than $35,000 up to $70,000.
30% for income greater than $70,000.
The output of the program should display the age, income and the tax owed
(in dollars).
References:
Recitation session, Lectures

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!