Computers and Technology

Instructions: Suppose an employee gets paid every two weeks and earns $2,200 each pay period. In a year the employee gets paid 26 times. Write a program that defines the following variables: payAmout: This variable will hold the amount of pay the employee earns each pay period. Initialize the variable with $2,200.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 number of pay periods in a year and store the result in the annualPay variable. Display the total annual pay on the screen.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 09:20, lovely222
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
image
Computers and Technology, 24.06.2019 02:40, homework1911
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
image
Computers and Technology, 24.06.2019 23:40, Salamonti
Which slide should you change so it reflects om all sides of your presentation
Answers: 1
image
Computers and Technology, 25.06.2019 02:00, doug26
What type of multimedia is a game cd? game cds are examples of multimedia
Answers: 1
Do you know the correct answer?
Instructions: Suppose an employee gets paid every two weeks and earns $2,200 each pay period. In a y...

Questions in other subjects:

Konu
English, 02.12.2020 21:50
Konu
History, 02.12.2020 21:50
Konu
Mathematics, 02.12.2020 21:50