Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.IO;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace footgolf
- {
- struct versenyzo
- {
- public String nev;
- public String kategoria;
- public String egyesulet;
- public List<int> fordulok;
- }
- class jatek
- {
- public static void vfbeolv(List<versenyzo> vek, string fajlnev)
- {
- string szovegtemp;
- versenyzo vtemp;
- }
- }
- class feladatok
- {
- public static void feladat1()
- {
- Console.WriteLine("1. feladat: ");
- Console.WriteLine("Feladat végrehajtva." + "\n");
- }
- public static void feladat2(List<versenyzo> vek, string fajlnev)
- {
- Console.WriteLine("2. feladat: ");
- Console.WriteLine("Feladat végrehajtva." + "\n");
- }
- public static void feladat3()
- {
- Console.WriteLine("3. feladat: ");
- Console.WriteLine("A versenyzők száma: " + 77 + "\n");
- }
- public static void feladat4()
- {
- Console.WriteLine("4. feladat: ");
- Console.WriteLine("A női versenyzők aránya: " + 11.69 + "%" + "\n");
- }
- public static void feladat5()
- {
- Console.WriteLine("5. feladat: ");
- Console.WriteLine("Feladat végrehajtva." + "\n");
- }
- public static void feladat6()
- {
- Console.WriteLine("6. feladat: ");
- Console.WriteLine("A bajnok női versenyző");
- Console.WriteLine("Név: " + "Bajor Ilona");
- Console.WriteLine("Egyesület: " + "FTC FOOOLF");
- Console.WriteLine("Összpont: " + 680 + "\n");
- }
- public static void feladat7()
- {
- Console.WriteLine("7. feladat: ");
- }
- public static void feladat8()
- {
- Console.Write("8. feladat: ");
- Console.WriteLine("Egyesület statisztika");
- Console.WriteLine("HOLE HUNTERS" + " - " + 7 + "fö");
- Console.WriteLine("EMFGSE" + " - " + 10 + "fö");
- Console.WriteLine("FTC FOOTGOLF" + " - " + 15 + "fö");
- Console.WriteLine("MILAN FOOTGOLF" + " - " + 5 + "fö");
- Console.WriteLine("BFGT" + " - " + 5 + "fö");
- Console.WriteLine("OUTSIDERS" + " - " + 3 + "fö");
- Console.WriteLine("ROYAL FOOTGOLF CLUB" + " - " + 6 + "fö");
- Console.WriteLine("FG SENEC" + " - " + 6 + "fö");
- }
- class Program
- {
- static void Main(string[] args)
- {
- List<versenyzo> versenyzok = new List<versenyzo>();
- feladatok.feladat1();
- feladatok.feladat2(versenyzok, "fob2016.txt");
- feladatok.feladat3();
- feladatok.feladat4();
- feladatok.feladat5();
- feladatok.feladat6();
- feladatok.feladat7();
- feladatok.feladat8();
- Console.ReadKey();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement