Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I cant find an example or get help from my professor, can someone give me a base outline of this problem? Python programming If an

I cant find an example or get help from my professor, can someone give me a base outline of this problem? Python programming

If an employee get paid every week and earns $1250 each pay period, in a year, the employee will get paid 52 times. Write a program that defines the following variables: salary This variable will hold the amount of pay the employee earns each week. Initialize the variable with 1250.00. weeks This variable will hold the number of pay periods in a year. Initialize the variable with 52. totalPay 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 salary by the number of weeks in a year and store the result in the totalPay variable Display the total pay amount on the screen.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions

Question

Does your message reiterate its main idea?

Answered: 1 week ago

Question

Which team solution is more likely to be pursued and why?

Answered: 1 week ago

Question

Did the team members feel that their work mattered

Answered: 1 week ago