Preview

It210 Week 2

Satisfactory Essays
Open Document
Open Document
399 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
It210 Week 2
Problem: The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the employee’s net pay. The input for this program is an employee ID number, hourly rate of pay, and number of regular and overtime hours worked. Gross pay is the sum of the wages earned from regular hours and overtime hours; overtime is paid at 1.5 times the regular rate. Net pay is gross pay minus deductions. Assume that deductions are taken for tax withholding (30 percent of gross pay) and parking ($10 per month). You will need the following variables:

Analysis Process:

1. Display a program title. 2. Prompt for the Employee ID 3. Prompt for the Hourly rate. 4. Prompt for Regular hours. 5. Prompt Overtime hours. 6. Add net and subtract tax’s equal gross. 7. Divide tax to gross. 8. Display the net.

Input: Item Employee ID (string: EmployeeID) Item Hourly rate (a float: HourlyRate ) Item Regular hours (a float: RegHours) Item Gross pay (a float: GrossPay) Item Tax (a float: Tax) Item Parking (a float: Parking) Item Overtime hours (a float: OverTimeHours) Item Net pay (a float: NetPay)

Output: Gross pay (real: GrossPay) Design Main Module Declare EmployeeID as String Declare HourlyRate as real Declare RegHours as integer Declare GrossPay as integer Declare Tax as real Declare Parking Declare OverTimeHours Delcare NetPay Write “hourly rate” Write “This program computes the total hours” Call Input Data Module Call Perform Calculations Module Call Output Results Module End Program End Main Module Input Data Module Write “What is the Employee ID?” Inpute EmployeeID Write “What is the total hourly rate?” Input HourlyRate Write “what are the total regular hours?” Input RegHours Write “What is the gross pay”? Input GrossPay Write “ How much are the tax’s”? Input Tax

You May Also Find These Documents Helpful

  • Satisfactory Essays

    It240 Week 3

    • 370 Words
    • 2 Pages

    For all three settings given the conditions in which to work with a client server based model is the choice. This choice is made for a few different reasons while considering multiple factors. First off client server includes an option for flexibility. That is growth and, or modification to any existing device, or future additions to the system. The design, implication, material, and budget demands are reasonably accomplishable. A client server offers tighter security through a central database which houses an array of customized permissions which allows an appointed user whatever access is needed. A client server base model is reasonably equipped to accommodate the expanding business to the business with everything…

    • 370 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Netw310 Week #4

    • 313 Words
    • 2 Pages

    Yes we can, we must follow all the rules prior to being allowed to make the trench, which is getting all the required permits.…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It321 Week 1

    • 640 Words
    • 3 Pages

    A long distance switch routes traffic through the long distance network. The types of interfaces that terminate on a long distance switch are intermachine trunks (ITMT’s); they can also connect to databases that are used to validate calling card calls.…

    • 640 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It 210 Appendix G

    • 540 Words
    • 3 Pages

    You are an accountant setting up a payroll system for a small firm. Each line of the table in Appendix G indicates an employee’s salary range and corresponding base tax amount and tax percentage. Given a salary amount, the tax is calculated by adding the base tax for that salary range and the product of percentage of excess and the amount of salary over the minimum salary for that range.…

    • 540 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IS3350 week 1

    • 287 Words
    • 3 Pages

    1. The purpose of identifying IT assets and inventory is to evaluate assets and track them.…

    • 287 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Explain some of the graphical user interfaces (GUIs) and communications messages that occur during the operation of a microwave…

    • 263 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It210 Week 4 Psuedocode

    • 584 Words
    • 3 Pages

    Program Pseudocode Currency_Convertor Main Module Delcare USDollars As Float Declare Rate1 As Float Declare Rate2 As Float Declare Rate3 As Float Declare Rate4…

    • 584 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    It222 Week 1

    • 466 Words
    • 2 Pages

    GNZ is intended to aid the retirement of WINS, and it's worth noting that it is not a replacement for WINS. GNZ is not intended to support the single-label name resolution of records that are dynamically registered in WINS, records which typically are not managed by IT administrators. Support for these dynamically registered records is not scalable, especially for larger customers with multiple domains and/or forests. In GNZ, after the creation and enabling of the GlobalNames zone, the administrators must manually create, add, edit and, if required - delete, name records from that zone. GNZ does not support dynamic updates…

    • 466 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It 210 Week 8 Checkpoint

    • 358 Words
    • 2 Pages

    |Graphical Interface/Central Computer |Communicates with the door, microwave |Incoming messages are from the user,|Outgoing messages tell the generator to |…

    • 358 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It237 Week 2 Checkpoint

    • 414 Words
    • 2 Pages

    Throughout this paper I will be describing external, embedded, and inline types of cascading style sheets. Also, I will be providing a pro and a con for each type of cascading style sheet.…

    • 414 Words
    • 2 Pages
    Good Essays
  • Good Essays

    It/205 Week 1 Check Point

    • 509 Words
    • 3 Pages

    The three dimensions of business problems are Organizations, Technology, and People. An example of organizations would be the rules and regulations that are set forth from within the company from the higher ups. If organizations did not set up these rules and regulations then the employee’s would just do what they thought was correct and everyone would be going in different directions and not working as a team to accomplish the same goals FedEx’s organization is set up so when they receive a package, everyone will follow specific procedures to ensure the information about the package is loaded into the system correctly so the package can to get to its final destination on time. Technology is anything from computer hardware to software to networking to the World Wide Web. Companies such as FedEx use technology to their advantage to keep track of all the packages and provide status checks with all of these forms of technology. They can now pinpoint potential delays or misdirection of packages and get it corrected sooner by using computer systems that talk to each other. The people are skilled in what their specific job is within a company to ensure that the overall goals are met. With FedEx there are hundreds if not thousands of different jobs that all have to be accomplished just for someone to send a package and it to get the destination on time. If FedEx did not have drivers, pilots, IT personnel, then the packages would go nowhere and they would be out of business. All companies must be set up with these three dimensions and a full understanding of each dimension to be successful.…

    • 509 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    unit 3

    • 313 Words
    • 2 Pages

    Design a program that calculates the total amount of meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15% tip and 7% sales tax. Display each of these amounts and the total.…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It/205 Week 8 Checkpoint

    • 339 Words
    • 2 Pages

    A census is the process of acquiring and recording information from the general public to determine population or housing numbers. For the 2010 census, the United States Census Bureau decided to implement a program called Field Data Collection Automation (FDCA). The program was intended to improve the data collection process by using handheld electronic devices. The mobile handhelds were to canvass addresses during the initial stage of the census.The FDCA program was important to the U.S. Census Bureau because it would replace the millions of paper forms and maps that were previously required to complete the census (Laudon&Laudon, 2011, p413). It was also important because it was meant to reduce costs, improve data quality, improve data collection efficiency, and encourage people to participate. Unfortunately, the FDCA program had problems.…

    • 339 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    It 218 Week 4 Checkpoint

    • 290 Words
    • 2 Pages

    A one dimensional array is a variable that holds more than one index value such as car [ 13 ]. A Two dimensional array will hold two different index values such as…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Rodriguez operates a variety store that provides an annual revenue of $480 000. Each year, he pays $25 000 in rent for the store, $15 000 in business taxes, and $350 000 on products to sell. He estimates he could put the $80 000 he has invested in the store into his friend’s restaurant business instead and earn an annual 20 percent profit on his funds. He also estimates that he and his family could earn a total annual wage of $90 000 if they worked somewhere other than the store.…

    • 362 Words
    • 2 Pages
    Satisfactory Essays