Design an application that it will prompt a user

Assignment Help Computer Engineering
Reference no: EM131290594

Exercises & iLabs Logic and Design

Exercise

Activity - Calculate Overtime Pay TCO #4

- Given a simple business problem that requires one or more decisions, create a solution algorithm that uses decisions with logical and relational expressions.

- Given a program with logic errors that is intended as a solution to a simple business problem, employ debugging diagnostics to remove and correct the errors.

Assignment: You will need to design an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed. It will then calculate their gross and net pay. If they work more than 40 hours, overtime is calculated at 1 ½ times the regular rate and displayed separately. If they are married, use a flat tax rate of 15%. If they are single, use 22%, if they are divorced, use 23%, and if they are widowed, use 13% (I realize that these are not very realistic). Here is a sample of what the program should do when run: (No overtime example) Enter hourly pay rate: 10.00 Enter hours worked: 35 Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: M Gross pay is $350.00 Net pay is $297.50 (Overtime example) Enter hourly pay rate: 10.00 Enter hours worked: 45 Enter letter for (M)arried, (S)ingle, (D)ivorced, (W)idowed: S Regular pay is $400.00 Overtime pay is $75.00 Gross pay is $475.00 Net pay is $370.50 Rubric: When completed staple the following documents together neatly in 1,2,3,4 order:

1) This instruction sheet first
2) The IPO Chart, second
3) The Pseudocode, third
4) The Flowchart and output example last.

Point distribution for this application: Calculate Overtime Pay Document: Points possible: Points received IPO Chart 5 Pseudocode 5 Flowchart and output 10 Total Points 20 IPO Chart: Input Processing Output Pseudocode: Begin calculateOvertimePay End Flowchart: Example Output after execution:

Lab Decision Calendar (Devry)

i LAB OVERVIEW Scenario/Summary

Your goal is to solve the following programming lab activity. Write a program that prompts and accepts a number between 1 and 12. After getting the input, display the number with the appropriate month. (example: This is the 1st month...January, This is the 2nd month...February, This is the 12th month...December).

Be sure to THINK about the logic and design first (IPO chart and/or pseudocode), then code the Visual Logic command line processing.

Deliverables Decision Calendar IPO Model Decision Calendar Pseudocode Decision Calendar Flowchart Decision Calendar Output Sample.

Reference no: EM131290594

Questions Cloud

Write a project status memo which reports on current status : Write a Project Status Memo which reports on the current status of your major course project.- Identify one or more possible sources for primary research.
How are treasury bills sold : How are Treasury bills sold? How do competitive and noncompetitive bids differ? Why is it so important for an economy to have fully developed financial markets? What is the free-rider problem? Describe some situations that this problem creates.
Design an algorithm determining the total meal charges : You have been contracted by a local restaurant to design an algorithm determining the total meal charges. The algorithm should ask the user for the total food purchase and the tip percent.
Distinguish between the front office and the back office : Explain why it is important to keep the front and back offices separate ? Explain why the traditional auditing function cannot serve as the risk management function ? Why is hedge accounting used and how can it be misused?
Design an application that it will prompt a user : You will need to design an application that it will prompt a user for their hourly pay rate, their hours worked, and whether they are single, married, divorced, or widowed.
Well-defined codes of ethics : A number of professional public relations groups have very well-defined codes of ethics. What are these codes seeking to accomplish? What are some of the common characteristics of them?
What is meant by independent risk monitoring : Explain the advantages for senior management having detailed, written policies for financial risk management? Define and explain what is meant by independent risk monitoring. How can senior management improve independent risk monitoring?
Appropriate analytical method for information wheels : Choose the appropriate analytical method for information wheels. HR wants to optimize the company's future hiring process. Choose appropriate analytical methodologies for HR's information wheels.
Design an application that will receive the weight of parcel : You will need to design an application that will receive the weight of a parcel and calculate and display the cost per kg and the delivery charge for that parcel.

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  Touchdevelop- prompt for the accuracy value

Create a 2nd loop the sum s until the sequential term is less than accuracy. Prompt for the accuracy value. Test for accuracy 0.01, 0.001 and 0.0001. Provide a flowchart.

  How to create a javascript program

Create a JavaScript program that declares and prints an array that contains at least 20 of your favorite songs. For each song, determine the best means for storing the year it was published.

  Conduct a comparison of three uml modeling tools of your

conduct a comparison of three uml modeling tools of your choice.your paper should include the following headers and

  Continuenbspworking on your proposaldevelopnbspthe flow

continuenbspworking on your proposal.developnbspthe flow diagram of the information and any control elements needed to

  Topics you have identified that you did not understand or

1. prepare a reflective essaynbspin which you address each of the following itemsa. descriptions of how you feel you

  Relational algebra tree for queries

Sketch a relational algebra tree (RAT) for each of queries and use the heuristic rules to convert the queries into a more efficient form. Describe each step and state any transformation rules utilized in the process.

  Some it department policies are designed to prevent

some it department policies are designed to prevent behaviors by it staff. while some depend upon the employee

  A system that calculates and returns the mean and a method

A system that calculates and returns the mean and a method

  What would be the output from each program

The following two programs differ in that one uses parseFloat and the other does not. What would be the output from each program if the user inputs 4 followed by 2.

  Comparative analysis of machine learning algorithms

Comparative Analysis of Machine Learning Algorithms for Audio Signal Classification. It is single paced & five pages.

  Explain the sum of the inverses of all positive integers

though , when we compute the sum in Java's floating point arithmetic the largest value we get is 15.403683, regardless of how many terms we add. Explain the possible reasons for this anomaly.

  Describe the costs and benefits alternative solutions

Describe the costs and benefits of each situation." So, as you would prefer for this meeting, perhaps you might anticipate questions that would be asked regarding this section.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd