Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace app1
- {
- class Program
- {
- static void Main(string[] args)
- {
- string profession = Console.ReadLine();
- switch (profession)
- {
- case "Athlete":
- Console.WriteLine("Water");
- break;
- case"Businessman":
- case "Businesswoman":
- Console.WriteLine("Coffee");
- break;
- case "SoftUni Student":
- Console.WriteLine("Beer");
- break;
- default:
- Console.WriteLine("");
- break;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment