Write looping structure pseudocode accepting employee data

Assignment Help Programming Languages
Reference no: EM1369887

Create looping structure pseudocode that prompts the user for employee data; the application continues to accept data for new employees until the user enters 0 for an ID number to indicate the desire to quit. While the ID number is not zero, prompt the user for a value for each field in turn. Any time the user enters an invalid value, continue to reprompt the user for the same data. Continue with the next data item only when the previous item is valid, as follows:

1. An employee ID must be between 100 and 999 inclusive.
2. A zip code must not be greater than 99999.
3. An hourly pay rate must be between $6.00 and $25.00 inclusive.
4. The number of hours worked in a week cannot be negative or more than 70.
5. An insurance plan code must be 1 or 2.

Reference no: EM1369887

Questions Cloud

Externalities-positive and negative : What is the definition of externality? Distinction between positive externalities (positive spillover costs) and negative externalities (negative spillover costs)? Why do externalities exist?
Effective management of a decision implementation plan : Describe the considerations you believe are important in implementing decisions in global organizations
Determining cost function of firm : Find out the range of outputs for which cost function C(q) = f +cq^2 where c>0 is characterized by
Estimate the equilibrium value of gdp : Suppose that no taxes are imposed, Estimate the equilibrium value of GDP if government expenditures are $50 billion and inteneded investment is $50 billion?
Write looping structure pseudocode accepting employee data : Write looping structure pseudocode which prompts user for employee data; application continues to accept data for new employees until user enters 0 for ID number to indicate desire to quit.
Important information about grant proposals : How can you determine whether or not your organization is ready to seek funding and what people or issues would need to be in place before considering writing a grant proposal?
Derive an expression for the monopolist optimal quantity : Assume a monopolist faces the market demand function P=a-bQ. Its marginal cost is given by MC = c+ eQ. Suppose that a > c and 2b + e > O.
Technological applications : Personal attitudes about technology might influence business decisions and what are some ways to prevent this from happening?
Explain plants significantly affecting animal-s life cycle : Which of the give is best example of plants significantly affecting animal's life cycle? Choose answer maple tree provides sweet syrup for humans. Choose answer A grove of orange trees is affected.

Reviews

Write a Review

 

Programming Languages Questions & Answers

  Write application that allows users to enter student id

Write an application that enables users to enter student ID and three exam scores. Provide a method to compute and return the overall exam average.

  Program to simulate rolling one die

Write a program which simulates rolling one die using the following steps: Prompt the user for the number of sides on the die.

  Define four user-defined exceptions

You will need to define four user-defined exceptions; one for unknown movies, one for unknown member, one for unknown payment method.

  Create application to enter number of units sold

Quantity discounts are given according: create an application that allows the user to enter the number of units sold for each software package.

  Give hypertext link of the internet location of program

Describe in one or two paragraphs what you observe. Give hypertext link of the internet location of the program (or applet) you found.

  Development of computer systems track citizens

To help counter terrorism, many countries are planning and development of computer systems that track large number of citizens and their actions.

  Write ipo steps and detailed pseudo code for program

Write IPO steps and detailed pseudo code for program which will ask user to enter restaurant meal cost. The program should then compute the tax, tip on the restaurant bill,

  Program prompt teacher to input student number

The program must prompt teacher to input student number. Quiz score for that student will be displayed. Program can prompt for each quiz score.

  Program has function named presentvalue for calculations

Write a program that has a function named presentValue that performs this calculation. The function should accept the future value, annual interest rate, and number of years as arguments.

  Method to pass string argument and returns first line

Write a method, getFirstLine, that is passed a String argument and that returns the first line.

  Write function that takes array of positive integers

Write a function that takes an array of positive integers and the size of the array, and returns the average (type float) of the values.

  Implement functions using x86 assembly

Implement a procedure that mimics a logic unit

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