Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Chapter 5 - Section 4: Program Design 9. Pay Raise. Write a pay-rise program that requests a person's first name, last name, and current annual

image text in transcribed

Chapter 5 - Section 4: Program Design 9. Pay Raise. Write a pay-rise program that requests a person's first name, last name, and current annual salary, and then displays the person's salary for next year. People earning less than $40,000 will receive a 5% raise, and those earning $40,000 or more will receive a raise of $2,000 plus 2% of the amount over $40,000. Use Sub procedures for input and output, and a Function procedure to calculate the new salary. See figures below for two examples using different salary amounts. Pay Raise Pay Raise- X First name: John Last name: Doe Current salary: 48000 Current salary: 36000 Display New Salary New salary for John Doe: $50.160.00 New salary for John Doe: $37,800.00 or

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

Students also viewed these Databases questions