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 probability that a tick carries both l and h

Deer ticks can carry both Lyme disease (L) and human granulocytic ehrlichiosis (H). In a study of ticks in the Midwest, it was found that 16% carried L, 10% carried H and 25% that had either L or H carried both.

  Determine what is the value of the smallest resistor

The voltage drops across three resistors in series are measured to be 10.0V, 15.0V, and 25.0V. If the largest resistor is 47.0ohm, what is the value of the smallest resistor

  Design values of w-l of the set and clock nmos transistors

A CMOS clocked SR flip-flop uses a technology with unCox = 100 uA/V^2, upCox = 25 uA/V^2, VDD = 2.5V, Vtn = -Vtp = 0.5V and the total capacitance at the output nodes equals 15fF. The inverter threshold voltage VM = 2.5V.

  What should gain of transmitting and receiving antenna be

To meet the signal-to-noise ratio of the receiver, the received power must be at least 10 µ W. Assuming the two antennas are aligned for maximum reception to each other, including being polarization matched, what should the gain (in dB) of the tra..

  Calculate the inductance of a solenoid with 125 turns

Calculate the inductance of a solenoid with 125 turns if the length of the solenoid is 18 cm and its radius is 1.6 cm

  Claculate the network real and reactive powers

A 150 MVA, 24 kV, 125% three-phase synchronous generator supplies a large network. The network voltage is 27 kV. The generator operates with an induced voltage, which is twice the rated line-to-neutral voltage.

  What would be the relative error expressed in percent

The doping level of N-type semiconductor is Nd= 5^19 cm^-3. Determine the room tempature position of the Fermi level ( with respect to the bottom of the comduction band) if the semiconductor is A). Si (Nc=2.86^19cm^-3)

  Find unit vector that is directed from the midpoint of sides

The three vertices of a triangle are located at A ( -1, 2, 5) , B( -4 , -2 , -3), and C( 1 , 3 , -2) . find a unit vector that is directed from the midpoint of the side AB to the midpoint of the side BC.

  Develop a series 90-30 program that functions a motor

Design your circuit so that the STOP push button must be pressed before the motor can be switched direction Also incorporated a 5 second delay to inhibit restart after the STOP push button has been pressed Green light

  Compare moore and mealy state machine designs

Mrs. Brooke owns a robot with an FSM brain. The robot walks from left to right along a paper type containing a sequence of 1's and 0's. On each clock cycle, the robot walks to the next bit.

  Create behavioral dataflow description to create comparator

Using verilog hardware descriptional language or vhdl create a non-expandable dataflow description of a 2-bit magnitude comparator, from that create a behavioral dataflow description to create an expandable 2-bit magnitude comparator

  Determine effective doping level and electron concentration

silicon is doped so that 1 in 10000 Si atoms is replaced by phosphorous atoms. A) Knowing that only 30% of the phosphorous atoms donate electrons at room temperature (30% ionization) , determine the effective doping level and electron concentratio..

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