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

  Gui that enters data about new employees

You need to create a user-friendly GUI that enters data about new employees. The employees must be categorized by department (marketing, accounting, sales, or manufacturing) and also by whether they are full-time or part-time employees.

  Comment on discoveries

Find out what they are, how they work, and post your findings here. Be sure to review the posts of your classmates as well and comment on their discoveries.

  Computer name, domain, and workgroup settings

Create RAID 1 array for DC1 a. Open "Disk Management"

  What form might this take

What form might this take? Would it be better to add it to BLAST, to CHAN, or to both jointly?

  Explain steps to install apache on the operating system

One of the great benefits of the Apache web server is its wide range of OS and platform support. Apache will run on any Unix-like OS (e.g. Linux, Unix, Mac, Solaris, and Berkeley Software Distribution (BSD) and most Windows OSs).

  Sensor data management systems

1. How can the sensor data management systems place the value to offer the proper information to the consumers correctly?

  Implement the class with accessors and mutators

Implement the class with accessors and mutators for the movie name and MPAA rating. Write a method addRating that takes an integer as an input parameter.

  Write a program that instantiates four sphere objects

Using the class sphere given on pages 145-146, write a program that instantiates four sphere objects (assigning a radius to each instance) and adds them to a pointer-based linked list

  Identity management is a critical function

Patient Identity Management is a critical function for healthcare facilities. List and explain five tips for successful patient identity management that you would give to hospital administrators and practitioners.

  Design a shopping page with 5 products

Design a shopping page with 5 products on it. Each product has one image, product title, product description, and price.  You may add necessary buttons, page heading, and background.A. When the page first loaded, display exactly 5 product items with ..

  How might each abstraction be distinctly useful

For a complex module that you have already developed for another project, specify the module at varying degrees of abstraction (according to the descriptions in Sidebar 6.3). How might each abstraction be distinctly useful?

  State the overall mobile device integration problem

Remember to state the overall mobile device integration problem, and articulate the current risks. Then, explain what incorporating mobile devices into the corporate data network would entail and how it would benefit the overall business.

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