Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Choose_a_Drink
- {
- class Program
- {
- static void Main(string[] args)
- {
- string type = Console.ReadLine();
- if (type.Equals("Athlete"))
- {
- Console.WriteLine("Water");
- }
- else if (type.Equals("Businessman") || type.Equals("Businesswoman")) {
- Console.WriteLine("Coffee");
- }
- else if (type.Equals("SoftUni Student"))
- {
- Console.WriteLine("Beer");
- }
- else
- {
- Console.WriteLine("Tea");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement