Answered step by step
Verified Expert Solution
Question
1 Approved Answer
program that does the following:Asks a user the number of years of employment serviceUses an else...if statement to display the following messagesService greater than 2
program that does the following:Asks a user the number of years of employment serviceUses an else...if statement to display the following messagesService greater than years You receive a gold watchService greater than but less than years You receive a silver penService greater than but less than years You receive an attractive pinService between and years You receive a pat on the backBe sure that you are using a logical operator to include all values.Dont forget to add curly brackets with each conditionFeel free to use logical operators in the conditions this is not required
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started