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;
- using System.IO;
- namespace robot
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("1.Feladat");
- StreamReader olvas = new StreamReader(@"C:\Users\finyw\Desktop\Erettsegi practice\e_infoforras_08okt_fl\Forrasok\4_Robot\program.txt", Encoding.Default);
- List<string> robotcodes = new List<string>();
- while (!olvas.EndOfStream)
- {
- robotcodes.Add(olvas.ReadLine());
- }
- for (int i = 0; i < robotcodes.Count; i++)
- {
- string[]splitelendo= robotcodes[i].Split(' ');
- string sp = splitelendo[i];
- }
- Console.WriteLine("2.Feladat");
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement