subject

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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print. wiki presentation paint desktop publishing
Answers: 3
question
Computers and Technology, 22.06.2019 19:20
Write a program that prompts the user to input a string. the program then uses the function substr to remove all the vowels from the string. for example, if str = "there", then after removing all the vowels, str = "thr". after removing all the vowels, output the string. your program must contain a function to remove all the vowels and a function to determine whether a character is a vowel.
Answers: 2
question
Computers and Technology, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 00:20
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
You know the right answer?
Instructions: Suppose an employee gets paid every two weeks and earns $2,200 each pay period. In a y...
Questions
question
Mathematics, 23.10.2020 21:30
question
History, 23.10.2020 21:30
question
History, 23.10.2020 21:30
question
English, 23.10.2020 21:30
question
Mathematics, 23.10.2020 21:30
question
Mathematics, 23.10.2020 21:30
question
Mathematics, 23.10.2020 21:30
question
Mathematics, 23.10.2020 21:30
Questions on the website: 13722362