Design a flowchart or pseudo code for the following

Assignment Help Basic Computer Science
Reference no: EM131096516

Diana Lee, a supervisor in a manufacturing company, wants to know which employees have increased their production this year over last year so that she can issue them certificates of commendation and bonuses. Design a flowchart or pseudo code for the following:

a. A program that continuously accepts each worker's first and last names, this year's number of units produced, and last year's number of units produced. Display each employee with a message indicating whether the employee's production has increased over last year's production.

b. A program that accepts each worker's data and displays the name and a bonus amount. Th e bonuses will be distributed as follows:

If this year's production is greater than last year's production and this year's production is:

• 1,000 units or fewer, the bonus is $25

• 1,001 to 3,000 units, the bonus is $50

• 3,001 to 6,000 units, the bonus is $100

• 6,001 units and up, the bonus is $200

c. Modify Exercise 9b to reflect the following new facts, and have the program execute as efficiently as possible:

• Thirty percent of employees have greater production this year than last year.

• Sixty percent of employees produce over 6,000 units per year; 20 percent produce 3,001 to 6,000 units; 15 percent produce 1,001 to 3,000 units; and only 5 percent produce fewer than 1,001 units.

10. In many programming languages you can generate a random number between 1 and a limiting value named LIMIT by using a statement similar to random Number = random(LIMIT). Create the logic for a guessing game in which the application generates a random number and the player tries to guess it. Display a message indicating whether the player's guess was correct, too high, or too low.
(After you finish Chapter 4, you will be able to modify the application so that the user can continue to guess until the correct answer is entered.)

Reference no: EM131096516

Questions Cloud

Securities and exchange commission : The Securities and Exchange Commission (SEC) filed a suit in a federal district court against Darla and others for alleged violations of, among other things, SEC Rule 10b-5. [ SEC v. Falbo 14 F.Supp.2d 508 (S.D.N.Y. 1998)]
Give explanation for this based on price discrimination : The Taos Pueblo is an ancient American Indian community in New Mexico that admits tourists. The admission fee is $5 per car plus $5 per camera. Give an explanation for this based on price discrimination. Give an explanation for this that is NOT based..
Employer provides health insurance policy : Suppose your employer provides a health insurance policy that pays 80 percent of $1 over the first $100 spent. If you incur $1,000 in expenses, how much will you pay out of pocket? What percentage of your expenses will this be?
Problems in the supply chain : Identify where products are running out (especially special offers and fresh foods). Think about the types of products that are running out and think of problems in the supply chain that could explain these shortages.
Design a flowchart or pseudo code for the following : Diana Lee, a supervisor in a manufacturing company, wants to know which employees have increased their production this year over last year so that she can issue them certificates of commendation and bonuses. Design a flowchart or pseudo code for t..
Compare presidential and congressional budget-making process : Compare the presidential and Congressional budget-making processes. How do these processes affect public policymaking? Discuss how presidential impoundment powers and legislative vetoes have influenced the budget process
Obtaining computer with enough power to handle his algorithm : Nick D’Aloisio isn’t your average 17 year old high school student. Instead of spending his summers at the movies or at a minimum wage job, Nick spent the last three summers, at an average of 17 hours per day, writing a program called Summly (formally..
Analyze the efficiency of your algorithm : The algorithm presented in Figure 4.8 retains no information between invocations of FIRST. As a result, the solution for a given nonterminal might be computed multiple times.
Equilibrium wage differential between safe and risky jobs : Suppose there are 100 workers in the economy in which all workers must choose to work a risky or a safe job. Worker 1’s reservation price for accepting the risky job is $1; worker 2’s reservation price is $2, and so on. Because of technological reaso..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How it sales manager learn technical in his role

How does an IT sales manager learn to be technical in his role without over complicating the IT aspects most consumers want to understand

  Protecting personal data-email system with targeted ads

Your customer is a community clinic that works with families with problems of family violence. It has three sites in the same city, including a shelter for battered women and children. The director wants a computerized record and appointment syste..

  Types of systems that benefit from dhcp

Consider the types of systems that benefit from DHCP reservations and/or from having manually-configured (static) IP addresses, including servers, networked printers, and other networked devices (e.g., network-connected HVAC controllers, IP camera..

  Discuss privacy protection issues

Discuss privacy protection issues in search engines business. You can use Google as an example.

  Design a program that will allow a user to input a list

Design a program that will allow a user to Input a list of your family members along with their age and state where they reside. Determine and print the average age of your family and print the names of anyone who lives in Texas

  What are the various types of wireless security

What are the various types of wireless security. which method is the best and why?

  How breadth-first ranking of vertices of g can be performed

Show how the breadth-first ranking of vertices of G can be performed on a p-process mesh.

  What role did berners-lee play

What role did Berners-Lee play

  Finding slowest clock rate used and not lose any data

What is the slowest clock rate that could be used and not lose any data? Assume that the number of instructions to be processed for an interrupt is constant.

  Use one of more of the nonmonotonic reasoning system

Use one of more of the nonmonotonic reasoning system

  Causes the program to fill the entire screen

Causes the program to fill the entire screenCauses the program to fill the entire screen

  Problem regarding the communication and collaboration

1) How do you think communication and collaboration would evolve? 2) How do you think these communication technologies will affect the travel industry which depends heavily on business-related travel?

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