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 _11._12._2019
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Enter a profession and you will get the best drink for that profession as an output: ");
- string prof = Console.ReadLine();
- switch (prof)
- {
- case "Athlete":
- Console.WriteLine("Water");
- break;
- case "Businessman":
- case "Businesswoman":
- Console.WriteLine("Coffee");
- break;
- case "SoftUni student":
- Console.WriteLine("Beer");
- break;
- default:
Add Comment
Please, Sign In to add comment