服务承诺
资金托管
原创保证
实力保障
24小时客服
使命必达
51Due提供Essay,Paper,Report,Assignment等学科作业的代写与辅导,同时涵盖Personal Statement,转学申请等留学文书代写。
51Due将让你达成学业目标
51Due将让你达成学业目标
51Due将让你达成学业目标
51Due将让你达成学业目标私人订制你的未来职场 世界名企,高端行业岗位等 在新的起点上实现更高水平的发展
积累工作经验
多元化文化交流
专业实操技能
建立人际资源圈Pseudocode_Structure_Prg_210
2013-11-13 来源: 类别: 更多范文
Week Three Pseudocode Structure
Module: Invoice
INPUT PROCESS OUTPUT
Customer ID
Customer First Name
Customer Last Name
Customer Mailing Address
Customer Phone
Product Number
Product Quantity
Product Description
Costumer Credit Card
Connect to Database
Determine product cost
Calculate State Tax
Calculate Federal Tax
Calculate Total Cost
Bill Customer Print customer invoice with Customer first and last name.
Customer Address
Order Information
sales tax and total cost.
Generate a report for finance department
INPUT:
Customer ID, First Name, Last Name, Mailing Address, Phone, Product Number, Quantity, Description, Credit Card
WHILE LOOP
IF Hours are less than 40 THEN calculate Pay is equal to Hours time Rate
ELSE Pay is equal to 40 time Rate plus (Hours minus 40) times Rate time 1.5
CALCULATE
Gross payment, State Tax, Federal Tax, Social Security, Net Payment
OUTPUT
Print out Employee Last Name, Employee First Name, Employee Mailing Address, Employee Phone, Hours, Rate, Gross Pay, Federal Taxes, State Taxes, Social Security, Net Pay, Print Check.
Module: Weekly Paycheck
INPUT PROCESS OUTPUT
Employee ID
Employee First Name
Employee Last Name
Employee Mailing Address
Employee Phone
Hours
Rate
Connect to Database
Calculate Gross Pay
Calculate Federal Taxes
Calculate State Taxes
Calculate Social Security
Calculate Net Pay
Employee Last Name
Employee First Name
Employee Mailing Address
Employee Phone
Hours
Rate
Gross Pay
Federal Taxes
State Taxes
Social Security
Net Pay
Print Check
INPUT:
Employee First Name, Last Name, Mailing Address, Phone, Hours, and Rate.
WHILE LOOP
IF Hours are less than 40 THEN calculate Pay is equal to Hours time Rate
ELSE Pay is equal to 40 time Rate plus (Hours minus 40) times Rate time 1.5
CALCULATE
Gross payment, State Tax, Federal Tax, Social Security, Net Payment
OUTPUT
Print out Employee Last Name, Employee First Name, Employee Mailing Address, Employee Phone, Hours, Rate, Gross Pay, Federal Taxes, State Taxes, Social Security, Net Pay, Print Check.
References
Crews, T., & Murphy, C. (2009). A guide to working with Visual Logic. Boston, MA: Cengage Learning.
Venit, S., & Drake, E. (2009). Prelude to programming concepts & design (4th ed.). Boston, MA: Addison-Wesley.

