Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
