Advertisement
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 czw12
- {
- class Klasaglowna
- {
- public static void Main()
- {
- string x;
- System.Console.WriteLine("podaj x do wyboru masz 1 lub 2");
- x = System.Console.ReadLine();
- switch (x)
- {
- case "1":
- {
- System.Console.WriteLine("wybrales1");
- break;
- }
- case "2":
- {
- System.Console.WriteLine("wybrales2");
- break;
- }
- default:
- {
- System.Console.WriteLine("podales inna liczbe");
- break;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement