subject

An employee in your company earns $32,500 annually. Write a program that determines and displays the amount of his/her gross pay for each pay period, if he/she is paid twice a month (24 pay checks per year) and if he/she is paid bi-weekly (26 check per year). have posted this with my code but i keep getting an error. help would be appreciated
int main()
class FrankVoelker_program1{
double Pay = 32500,
bimth = Pay / 24,
biweek = Pay / 26;
cout << "Annual earnings: $" << Pay << end1;
cout << "Bimonthly earnings: $" << bimth << endl;
cout << "Biweekly earnings: $" << biweek << endl;
23:1: error: expected initializer before 'class'

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
When making changes to optimize part of a processor, it is often the case that speeding up one type of instruction comes at the cost of slowing down something else. for example, if we put in a complicated fast floating-point unit, that takes space, and something might have to be moved farther away from the middle to accommodate it, adding an extra cycle in delay to reach that unit. the basic amdahl's law equation does not take into account this trade-off. a. if the new fast floating-point unit speeds up floating-point operations by, on average, 2ă—, and floating-point operations take 20% of the original program's execution time, what is the overall speedup (ignoring the penalty to any other instructions)? b. now assume that speeding up the floating-point unit slowed down data cache accesses, resulting in a 1.5ă— slowdown (or 2/3 speedup). data cache accesses consume 10% of the execution time. what is the overall speedup now? c. after implementing the new floating-point operations, what percentage of execution time is spent on floating-point operations? what percentage is spent on data cache accesses?
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
Why is it uncommon for users to perform searches directly in database tables? a.)users are discouraged from interacting directly with tables because they might confuse tables with spreadsheets. b.) users are discouraged from interacting directly with tables because this may result in unintended changes to source data. c.)users do not have the technical skills required to perform searches directly in database tables. d.)users do not have the permissions required to perform searches directly in database tables.
Answers: 1
You know the right answer?
An employee in your company earns $32,500 annually. Write a program that determines and displays the...
Questions
question
Mathematics, 16.04.2021 21:40
question
Chemistry, 16.04.2021 21:40
question
Mathematics, 16.04.2021 21:40
question
Chemistry, 16.04.2021 21:40
Questions on the website: 13722360