Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

AP Computer Science A if statements: 2003 AP Computer Science Free Response Modified An employee is eligible for retirement if (s)he meets at least two

image text in transcribed

AP Computer Science A if statements: 2003 AP Computer Science Free Response Modified An employee is eligible for retirement if (s)he meets at least two of the following requirements 1. The employee is at least 55 years old 2. The employee has worked for at least 30 years 3. The employee's salary is at least S65,000 A. Given the following employee's information, determine which employees would be eligible for retirement. Name Age Years of Salary Eligible? Employment 32 30 28 30 $55,000 $70,000 $60,000 $55,000 Martha 50 en Tom Bet 60 60 The above list of employees, are not sufficient to test a program that would be designed to determine retirement eligibility. situations Supply additional test data that would test all B. When writing a program to determine retirement eligibility, how would you handle the eligibility parameters? Would you use a variable, constant or hard code the values for the minimum age, years and salary? Justify your choice. C. Write pseudocode that could be used to determine retirement eligibility. Include declaration and instantiation of any variables or constants that you would use to write this piece of code

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

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions

Question

=+How might these stem from country and regional cultures?

Answered: 1 week ago