Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace SrbskoUnleashed
- {
- class Program
- {
- static void Main(string[] args)
- {
- while (true)
- {
- bool isSinger = true;
- bool isPlace = false;
- string line = Console.ReadLine();
- if (line.Equals("End"))
- break;
- string[] tokens = line.Split();
- if (tokens[0].Contains('@'))
- continue;
- string singer = string.Empty;
- string venue = string.Empty;
- foreach (var item in tokens)
- {
- if(isSinger)
- singer += item;
- if (item.Contains('@'))
- {
- isSinger = false;
- isPlace = true;
- }
- if()
- if (isPlace)
- venue += item;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement