Create looping structure pseudocode that prompts the user

Assignment Help Electrical Engineering
Reference no: EM13274103

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: EM13274103

Questions Cloud

Calculate the effective annual yield : Hacker Software has 7.8 percent coupon bonds on the market with 15 years to maturity. The bonds make semiannual payments and currently sell for 76.151 percent of par.
What is the mass of the disk : A torque of 2.2 N.m is applied to a spherical shell of radius 0.25 m. what is the mass of the disk
Find the maximum rangeof the bullet along the slope : A gunman standing on a sloping ground fires up the slope. The initial speed of the bullet is v0= 390 m/s. Find the maximum rangeof the bullet along the slope
What is acceleration does to gravity or oscillation : a child on a swing set swing back and forth if the length of the supporting cables for the swing is 2.1 m long, what's acceleration does to gravity or oscillation
Create looping structure pseudocode that prompts the user : 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.
Explain how you will visually represent consolidated data : Explain how you will visually represent the consolidated data for the sales of all stores and all inventory categories for all time periods in one chart or graph.
What is the companys weighted average cost of capital : What is the companys weighted average cost of capital? (Do not round intermediate calculations and round your final answer to 2 decimal places. (e.g., 32.16))
What are resistivity of material of which wire is made : A wire of radius 1.2 mm carries a current of 2.5 A. The potential difference between points on the wire 44 m apart is 8.6 V. What are the resistivity of the material of which the wire is made.
What is the adjusted present value : What is the maximum price that the company should be willing to pay for the new fleet of cars if it remains an all-equity company? (Do not round intermediate calculations and round your final answer to 2 decimal places. (e.g., 32.16))

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What is the direction of the magnetic flux density at point

An infinitely long wire is placed in a space with relative permeability of 9000 carrying current of 1.9 A in the +y direction. What is the magnitude of the magnetic flux density at (0.03,0,0) [meters] in units of Tesla

  Calculate the phase impedance of the transformer in per unit

A 50-KVA, 13,800/208 V -Y distribution transformer has an equivalent phase impedance 114.2+j800 ohm referred to the high voltage side. Take the rated voltage as the base voltage and the rated VA as the based voltampere value.

  Give subroutine to perform lower-to-upper case conversion

Write and test a program for the EASy68k to input a string from the keyboard, convert all letters to uppercase and echo (output) the new string to the screen. Use a subroutine to perform the lower-to-upper case conversion.

  Determine the net charge that passes through the element

A in which t is in seconds and the angle is in radians. a. Sketch i(t) to scale versus time for t ranging from 0 to 15ms. B. Determine the net charge that passes through the element between t = 0 and t = 10ms. C. repeat for the interval to t = 15m..

  Specify the horsepower required for the driving motor

Air is to be compressed from atmospheric pressure at 60oF to 100 psia in a centrfugal compressor (isentropic efficiency about 0.7). The flow rate will be 500 lbm/min. Specify the horsepower required for the driving motor

  Design a counter with the sequence utilizing two flip flops

Design a counter with the sequence 0-3-2-1-0 utilizing two flip flops. Flip flop A (MSB) is to be a JK type and Flip Flop B (LSB) is to be a RS Flip Flop.

  Build circuit for parking deck where binary counter count up

build a circuit for a parking deck where a binary counter counts up when a car comes in and down when one leaves. There can only be a maximum of 40 cars in the parking deck before an LED turns on to notify the parking deck is full.

  Explain why the short-circuit method for determining

Explain why the short-circuit method for determining the Thevenin resistance of a circuit cannot be applied if the circuit does not contain any independent current or voltage sources.

  Determine minimum required bandwidth and baud rate

For a 128-PSK modulator with an input data rate equal to 56 Mbps and a carrier frequency of 100 MHz, determine (a) minimum required bandwidth and (b) baud rate.

  Find the laplace transform of the output

Consider the system with impulse response \(h(t)=e^{-3t}u(t-1)\) 1. Find the transfer function. 2. Find the Laplace transform of the output when \(x(t)=sin(t)u(t)\)

  How many pages of information are there in 3 gbs of memory

If one page of memory can store 25 lines of characters with each line con- taining 80 characters, how many pages of information are there in 3 GBs of memory

  Find the laplace transform of the functions

Find the Laplace transform of the following: (i) f(t)= 45e^(-5(t-6)) (j) f(t)=2 sin(t-6) (k) f(t)="4.8" e^(-5t) cos?(400t -36o) (l) f(t)=8 d2x/dt2 + 5 dx/dt where (dx(0))/dt = 8 and x(0) = -4

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