Gift Advisor

Everybody wants to give a unique gift that will be remembered year-round. Yet, when that special occasion comes our minds go blank and we forget what our recipients want. Thus we end up giving ties, scarves and candles that inevitably get re-gifted.

Your task is to develop a program that will prompt the user for the recipient's gender. You'll also ask for the giver's price range. Use high, medium or low.

Now write a program that will select the perfect gift based on the table below. Feel free to modify the gift list if you wish.

Gift Gender Price
Jewelry Female High
Weekend Getaway Female High
Wine Female Low
Selfie Stick Female Low
Perfume Female Medium
Sweater Female Medium
Smart TV Male High
Apple Watch Male High
Books Male Low
Shoes Male Low
Guitar Male Medium
Playstation Male Medium

Bonus: Add a column to the list for age and change your program to prompt for the age (adult,teen, child) of the recipient. You'll need to add more gift ideas if this is the case. You should also handle the possibility that you have no gift ideas. In which case just say... get him/her a gift certificate.

results matching ""

    No results matching ""