Upload
assignmentclick01
View
220
Download
0
Embed Size (px)
Citation preview
8/19/2019 DEVRY COMP 122 Lab 2 Lab Report and Source Code
http://slidepdf.com/reader/full/devry-comp-122-lab-2-lab-report-and-source-code 1/3
DEVRY COMP 122 Lab 2 Lab Reportand Source Code
Check this A+ tutoria !uide ine at
http"##$$$%assi!n&entc ick%co&#co&p'122#co&p'122' ab'2' ab'
report'and'source'code
(or &ore c asses )isit
http"##$$$%assi!n&entc ick%c
o&
COMP 122 Week 2 iLab
Complete the following two programs:
Programming Problem 1
Write a program that calculates and outputs the monthly paycheck information for anemployee including all the amounts deducted from an employee!s gross pay and the net
pay that is due to the employee" #he user of your program will know the employee!s nameand the gross pay for the employee" $ach employee has the following deductions taken
from his gross pay:
%ederal &ncome #a': 1()
8/19/2019 DEVRY COMP 122 Lab 2 Lab Report and Source Code
http://slidepdf.com/reader/full/devry-comp-122-lab-2-lab-report-and-source-code 2/3
8/19/2019 DEVRY COMP 122 Lab 2 Lab Report and Source Code
http://slidepdf.com/reader/full/devry-comp-122-lab-2-lab-report-and-source-code 3/3
2" &dentify the processing needed to con;ert the inputs to the outputs"
+" =esign an algorithm in pseudocode to sol;e the problem" Make sure to include steps toget each input and to report each output"
9" &dentify fi;e significant test cases including one for incorrect input >ie" &nput a letterrather than a digit for the numeric input?" >#hink about what impact changing the order of the input ;alues should ha;e on your programA? %or each of the fi;e test cases show what
inputs you will use and calculate what your e'pected outputs should be"