Display the total annual pay on the screen

Assignment Help Basic Computer Science
Reference no: EM13322799

Annual Pay
Suppose an employee gets paid every two weeks and earns $1700.00 each pay period. In a year the employee gets paid 26 times. Write a program that defines the following variables: payAmount This variable will hold the amount of pay the employee earns each pay period. Initialize the variable with 1700.0. payPeriods This variable will hold the number of pay periods in a year. Initialize the variable with 26. annualPay This variable will hold the employee s total annual pay, which will be calculated.
The program should calculate the employee s total annual pay by multiplying the  employee s pay amount by the number of pay periods in a year, and store the result in the annualPay variable. Display the total annual pay on the screen.

Reference no: EM13322799

Questions Cloud

What is the uniform flow in cfs when the pipe is half full : A concrete (n=0.013) stormwater channel, 6-feet in diameter, has a bed slope of 0.01%. What is the uniform flow in cfs when the pipe is half full
Calculate the capacitance of the structure : A capacitor is constructed of two 5.3 m2 parallel metal plates separated by an air gap of 0.010 mm. An electric potential of 25 V is applied to the capacitor. calculate the capacitance of the structure
An information systems project to increase data security : What issues need to be considered when planning an information systems project to increase data security
Calculate the frequency of the siren as engine approaches : A fire truck emitting a siren frequency of 1500 Hz speeds by you at 20.0 m/s (~45 mph). calculate the frequency of the siren as the engine approaches
Display the total annual pay on the screen : Display the total annual pay on the screen.
Calculate the maximum velocity experienced by the mass : A 0.20 kg mass resting on a frictionless surface is attached to a solid wall by means of a spring with and elastic force constant k of 5.0 N/m. calculate the maximum velocity experienced by the mass
Find the flux of the earths magnetic field : Find the flux of the Earth's magnetic field of magnitude 5x10^-5, through a square loop of area 10cm^2 for the following
Prevent the computer intrusion described in case : 1. What should the Connecticut Company have done to prevent the computer intrusion described in this case? What should it have done to detect this computer intrusion?
What is the distance between the adjacent bright fringes : In the two-slit experiment, the distance between the slits and the screen is 1.1 m and the distance between the slits is 0.040 mm. what is the distance between the adjacent bright fringes

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Encryrption of some unknown

Assume (A1,B1) is an encryrption of some unknown m1. Prove that (A1,B2g^(m2) mod p) is a valid  encryption of m1 + m2 mod p. More generally, if (A2,B2) is an encryption of m2, what is (A1A2  mod p,B1B2 mod p) an encryption of?

  Synthesizing a picture of an area

Synthesizing a picture of an area, its relevance, structure and core ideas; and identifying what problems they are trying to solve and issues that need further exploration.

  Determine how to set up the server for the future expansion.

Habibi's has a small network of 20 client workstations and a Windows Server 2008. Seven of those workstations are inside the restaurant and are used by the table servers to place customer orders.

  Use jsp to display current date & time

Fail authentication page will ask user to create the new account if the user does not have an account on the system.

  What can we predict about the future of our economy

1. Would culture affect one's propensity to save? Or, would geographic location affect one's propensity to save?

  Design a program that prompts the user to enter a number

Design a program that prompts the user to enter a number within the range of 1 to 10. The program should display Roman numeral version of that number. If the number is outside the range of 1 to 10, the program should display an error message.

  Calculate the value of pi upto 10 decimal points

Use the equation pi/4 = tan^-1(1/2) + tan^-1(1/3) to evaluate the value of pi. Howmany iterations does it require? Comment on the difference. Submit matlab code.

  The assignment has been designed

The assignment has been designed to assess students' understanding of the usage of data communications and computer networking technologies in real life and to demonstrate their engagement with the subject.

  Advantages and disadvantages of asymmetric or symmetric key

The Institute has collaborated with XYZ inc. for research on genetics. Information should be kept top secret at any cost. At ABC Institute, researchers are not sure about kind of key.

  Determine relation of m and n-existence of a hash function

Determine the most general relation of m and n that guarantees the existence of a hash function in H that causes no collision when hashing [n] into [m].

  Successful at attracting and keeping purchasing customers

Successful at attracting and keeping purchasing customers

  How to strive to nurture place which holds learning

What type of organization permits you to be creative, risk prone, and good conversationalist with peers? How can you strive to nurture place which embraces learning?

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