Display the total annual pay on the screen

Assignment Help Basic Computer Science
Reference no: EM131236450

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

Questions Cloud

Identify the weaknesses that contributed : You have to find your answer and cite from the book called "THE WEST" by Frankforter. If not , you will not get best answer. Need three paragraph answer.
Graded on the basis of content : Your response will be graded on the basis of content (how well you respond to the question) and on the quality of your response (grammar, spelling, syntax, etc.)
Display the average on the screen : Then, the program should divide the sum variable by 5 to get the average. Display the average on the screen
Why is cultural intelligence important as an hr practitioner : Why is cultural intelligence important as an HR practitioner? What are three recommendations to help develop one's cultural intelligence? How well developed is your own cultural intelligence? What tells you that?
Display the total annual pay on the screen : 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.
Create plan for ongoing improvement and increased capability : Create a plan for ongoing improvement and increased capability based on an evaluation of an organization's systemic constraints.
Confront the native americans with an open mind : 1. Did the European explorers and missionaries confront the Native Americans with an open mind? What kind of preconceptions did they have?
Program that computes the tax and tip on a restaurant bill : Write a program that computes the tax and tip on a restaurant bill for a patron with a $44.50 meal charge. The tax should be 6.75 percent of the meal cost. The tip should be 15 percent of the total after adding the tax. Display the meal cost, tax ..
Some manner biased and self-serving : Considering that each report is in some manner biased and self-serving, how can we claim to know anything about early Native cultures?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Use an adjacency matrix to represent the graph

Repeat the previous programming problem, but represent the graph using an adjacency list instead of an adjacency matrix.

  How many photographs could be stored in the camera

Suppose a digital camera has a storage capacity of 256MB. How many photographs could be stored in the camera if each consisted of 1024 pixels per row and 1024 pixels per column if each pixel required three bytes of storage?

  Display the users gross pay

Write a class that accepts a user's hourly rate of pay and the number of hours worked. Display the user's gross pay, the withholding tax ( 15% of the gross pay), and the net pay (gross pay - withholding). Save as Payroll.java

  Emerging technology

Emerging Technology

  Database administrator's function

Primitive operations common to all record management systems include. Which of the following is a database administrator's function?

  How write program stores two integers and allows user enter

How do you write a program that stores two integers and allows the user to enter a character. If the character is A, add the two integers

  Data redundancy and normalization

Discuss the relationship between data redundancy and normalization. What are the consequences if databases are not normalized? What problems is normalization addressing? Why is normalization crucial for effective database design and development?

  How many code words have exactly three 0''s

How many code words have exactly three 0's?

  Question regarding the hackers in the future

Describe what is meant by the "hacker subculture" and identify at least one value that drives the hacker subculture. Do you think this hacker value system can ultimately be used to disrupt and deter hackers in the future?

  Differences between scholarly resources and popular resource

Explain the differences between scholarly resources and popular resources. Describe the key things to remember when searching for sources within the Ashford University Library (e.g., databases, FindIt@AU search tool).

  Write down sructured english for clyde-s narrative

On a trip lasting more than one day, we permit hotel, taxi, and airfare also meal allowances. Same times apply for meal expenses. Write down sructured English for Clyde's narrative of the reimbursement policies.

  Estimate the final dbm value for a radio

Estimate the final dBm value for a radio if the radio has .1 Watt of power, if there is a 4:1 amplifier before transmission, and if there is attenuation to 1/8 the original signal strength between the sender and receiver.

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