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 ConsoleApp1
- {
- class Program
- {
- static void Main(string[] args)
- {
- int playerRankVal1 = 0;
- int playerRankVal2 = 0;
- int playerRankVal3 = 0;
- int playerRankVal4 = 0;
- int playerRankVal5 = 0;
- string playerRankName1 = "ERROR";
- string playerRankName2 = "ERROR";
- string playerRankName3 = "ERROR";
- string playerRankName4 = "ERROR";
- string playerRankName5 = "ERROR";
- string rankAvg = "ERROR";
- Console.Title = "CSGO Rank Calculator";
- Console.BackgroundColor = ConsoleColor.Black;
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Available ranks:");
- Console.WriteLine("");
- Console.WriteLine("Unranked - unranked");
- Console.WriteLine("Silver I - s1");
- Console.WriteLine("Silver II - s2");
- Console.WriteLine("Silver III - s3");
- Console.WriteLine("Silver IV - s4");
- Console.WriteLine("Silver Elite - se");
- Console.WriteLine("Silver Elite Master - sem");
- Console.WriteLine("Gold Nova I - g1");
- Console.WriteLine("Gold Nova II - g2");
- Console.WriteLine("Gold Nova III - g3");
- Console.WriteLine("Gold Nova Master - g4");
- Console.WriteLine("Master Guardian I - mg1");
- Console.WriteLine("Master Guardian II - mg2");
- Console.WriteLine("Master Guardian Elite - mge");
- Console.WriteLine("Distinguished Master Guardian - dmg");
- Console.WriteLine("Legendary Eagle - le");
- Console.WriteLine("Legendary Eagle Master - lem");
- Console.WriteLine("Supreme Master First Class - smfc");
- Console.WriteLine("The Global Elite - ge");
- Console.WriteLine("");
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("PLEASE ENTER YOUR TEAMMATE'S RANKS");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("");
- Console.Write("- ");
- string playerRank1 = Console.ReadLine();
- if (playerRank1 == "uranked")
- {
- playerRankVal1 = 0;
- playerRankName1 = "Unranked";
- }
- else if (playerRank1 == "s1")
- {
- playerRankVal1 = 1;
- playerRankName1 = "Silver I";
- }
- else if (playerRank1 == "s2")
- {
- playerRankVal1 = 2;
- playerRankName1 = "Silver II";
- }
- else if (playerRank1 == "s3")
- {
- playerRankVal1 = 3;
- playerRankName1 = "Silver III";
- }
- else if (playerRank1 == "s4")
- {
- playerRankVal1 = 4;
- playerRankName1 = "Silver IV";
- }
- else if (playerRank1 == "se")
- {
- playerRankVal1 = 5;
- playerRankName1 = "Silver Elite";
- }
- else if (playerRank1 == "sem")
- {
- playerRankVal1 = 6;
- playerRankName1 = "Silver Elite Master";
- }
- else if (playerRank1 == "g1")
- {
- playerRankVal1 = 7;
- playerRankName1 = "Gold Nova I";
- }
- else if (playerRank1 == "g2")
- {
- playerRankVal1 = 8;
- playerRankName1 = "Gold Nova II";
- }
- else if (playerRank1 == "g3")
- {
- playerRankVal1 = 9;
- playerRankName1 = "Gold Nova III";
- }
- else if (playerRank1 == "g4")
- {
- playerRankVal1 = 10;
- playerRankName1 = "Gold Nova Master";
- }
- else if (playerRank1 == "mg1")
- {
- playerRankVal1 = 11;
- playerRankName1 = "Master Guardian I";
- }
- else if (playerRank1 == "mg2")
- {
- playerRankVal1 = 12;
- playerRankName1 = "Master Guardian II";
- }
- else if (playerRank1 == "mge")
- {
- playerRankVal1 = 13;
- playerRankName1 = "Master Guardian Elite";
- }
- else if (playerRank1 == "dmg")
- {
- playerRankVal1 = 14;
- playerRankName1 = "Distinguished Master Guardian";
- }
- else if (playerRank1 == "le")
- {
- playerRankVal1 = 15;
- playerRankName1 = "Legendary Eagle";
- }
- else if (playerRank1 == "lem")
- {
- playerRankVal1 = 16;
- playerRankName1 = "Legendary Eagle Master";
- }
- else if (playerRank1 == "smfc")
- {
- playerRankVal1 = 17;
- playerRankName1 = "Supreme Master First Class";
- }
- else if (playerRank1 == "ge")
- {
- playerRankVal1 = 18;
- playerRankName1 = "The Global Elite";
- }
- Console.Clear();
- Console.BackgroundColor = ConsoleColor.Black;
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Available ranks:");
- Console.WriteLine("");
- Console.WriteLine("Unranked - unranked");
- Console.WriteLine("Silver I - s1");
- Console.WriteLine("Silver II - s2");
- Console.WriteLine("Silver III - s3");
- Console.WriteLine("Silver IV - s4");
- Console.WriteLine("Silver Elite - se");
- Console.WriteLine("Silver Elite Master - sem");
- Console.WriteLine("Gold Nova I - g1");
- Console.WriteLine("Gold Nova II - g2");
- Console.WriteLine("Gold Nova III - g3");
- Console.WriteLine("Gold Nova Master - g4");
- Console.WriteLine("Master Guardian I - mg1");
- Console.WriteLine("Master Guardian II - mg2");
- Console.WriteLine("Master Guardian Elite - mge");
- Console.WriteLine("Distinguished Master Guardian - dmg");
- Console.WriteLine("Legendary Eagle - le");
- Console.WriteLine("Legendary Eagle Master - lem");
- Console.WriteLine("Supreme Master First Class - smfc");
- Console.WriteLine("The Global Elite - ge");
- Console.WriteLine("");
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("PLEASE ENTER YOUR TEAMMATE'S RANKS");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("");
- Console.WriteLine("- " + playerRankName1);
- Console.Write("- ");
- string playerRank2 = Console.ReadLine();
- if (playerRank2 == "uranked")
- {
- playerRankVal2 = 0;
- playerRankName2 = "Unranked";
- }
- else if (playerRank2 == "s1")
- {
- playerRankVal2 = 1;
- playerRankName2 = "Silver I";
- }
- else if (playerRank2 == "s2")
- {
- playerRankVal2 = 2;
- playerRankName2 = "Silver II";
- }
- else if (playerRank2 == "s3")
- {
- playerRankVal2 = 3;
- playerRankName2 = "Silver III";
- }
- else if (playerRank2 == "s4")
- {
- playerRankVal2 = 4;
- playerRankName2 = "Silver IV";
- }
- else if (playerRank2 == "se")
- {
- playerRankVal2 = 5;
- playerRankName2 = "Silver Elite";
- }
- else if (playerRank2 == "sem")
- {
- playerRankVal2 = 6;
- playerRankName2 = "Silver Elite Master";
- }
- else if (playerRank2 == "g1")
- {
- playerRankVal2 = 7;
- playerRankName2 = "Gold Nova I";
- }
- else if (playerRank2 == "g2")
- {
- playerRankVal2 = 8;
- playerRankName2 = "Gold Nova II";
- }
- else if (playerRank2 == "g3")
- {
- playerRankVal2 = 9;
- playerRankName2 = "Gold Nova III";
- }
- else if (playerRank2 == "g4")
- {
- playerRankVal2 = 10;
- playerRankName2 = "Gold Nova Master";
- }
- else if (playerRank2 == "mg1")
- {
- playerRankVal2 = 11;
- playerRankName2 = "Master Guardian I";
- }
- else if (playerRank2 == "mg2")
- {
- playerRankVal2 = 12;
- playerRankName2 = "Master Guardian II";
- }
- else if (playerRank2 == "mge")
- {
- playerRankVal2 = 13;
- playerRankName2 = "Master Guardian Elite";
- }
- else if (playerRank2 == "dmg")
- {
- playerRankVal2 = 14;
- playerRankName2 = "Distinguished Master Guardian";
- }
- else if (playerRank2 == "le")
- {
- playerRankVal2 = 15;
- playerRankName2 = "Legendary Eagle";
- }
- else if (playerRank2 == "lem")
- {
- playerRankVal2 = 16;
- playerRankName2 = "Legendary Eagle Master";
- }
- else if (playerRank2 == "smfc")
- {
- playerRankVal2 = 17;
- playerRankName2 = "Supreme Master First Class";
- }
- else if (playerRank2 == "ge")
- {
- playerRankVal2 = 18;
- playerRankName2 = "The Global Elite";
- }
- Console.Clear();
- Console.BackgroundColor = ConsoleColor.Black;
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Available ranks:");
- Console.WriteLine("");
- Console.WriteLine("Unranked - unranked");
- Console.WriteLine("Silver I - s1");
- Console.WriteLine("Silver II - s2");
- Console.WriteLine("Silver III - s3");
- Console.WriteLine("Silver IV - s4");
- Console.WriteLine("Silver Elite - se");
- Console.WriteLine("Silver Elite Master - sem");
- Console.WriteLine("Gold Nova I - g1");
- Console.WriteLine("Gold Nova II - g2");
- Console.WriteLine("Gold Nova III - g3");
- Console.WriteLine("Gold Nova Master - g4");
- Console.WriteLine("Master Guardian I - mg1");
- Console.WriteLine("Master Guardian II - mg2");
- Console.WriteLine("Master Guardian Elite - mge");
- Console.WriteLine("Distinguished Master Guardian - dmg");
- Console.WriteLine("Legendary Eagle - le");
- Console.WriteLine("Legendary Eagle Master - lem");
- Console.WriteLine("Supreme Master First Class - smfc");
- Console.WriteLine("The Global Elite - ge");
- Console.WriteLine("");
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("PLEASE ENTER YOUR TEAMMATE'S RANKS");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("");
- Console.WriteLine("- " + playerRankName1);
- Console.WriteLine("- " + playerRankName2);
- Console.Write("- ");
- string playerRank3 = Console.ReadLine();
- if (playerRank3 == "uranked")
- {
- playerRankVal3 = 0;
- playerRankName3 = "Unranked";
- }
- else if (playerRank3 == "s1")
- {
- playerRankVal3 = 1;
- playerRankName3 = "Silver I";
- }
- else if (playerRank3 == "s2")
- {
- playerRankVal3 = 2;
- playerRankName3 = "Silver II";
- }
- else if (playerRank3 == "s3")
- {
- playerRankVal3 = 3;
- playerRankName3 = "Silver III";
- }
- else if (playerRank3 == "s4")
- {
- playerRankVal3 = 4;
- playerRankName3 = "Silver IV";
- }
- else if (playerRank3 == "se")
- {
- playerRankVal3 = 5;
- playerRankName3 = "Silver Elite";
- }
- else if (playerRank3 == "sem")
- {
- playerRankVal3 = 6;
- playerRankName3 = "Silver Elite Master";
- }
- else if (playerRank3 == "g1")
- {
- playerRankVal3 = 7;
- playerRankName3 = "Gold Nova I";
- }
- else if (playerRank3 == "g2")
- {
- playerRankVal3 = 8;
- playerRankName3 = "Gold Nova II";
- }
- else if (playerRank3 == "g3")
- {
- playerRankVal3 = 9;
- playerRankName3 = "Gold Nova III";
- }
- else if (playerRank3 == "g4")
- {
- playerRankVal3 = 10;
- playerRankName3 = "Gold Nova Master";
- }
- else if (playerRank3 == "mg1")
- {
- playerRankVal3 = 11;
- playerRankName3 = "Master Guardian I";
- }
- else if (playerRank3 == "mg2")
- {
- playerRankVal3 = 12;
- playerRankName3 = "Master Guardian II";
- }
- else if (playerRank3 == "mge")
- {
- playerRankVal3 = 13;
- playerRankName3 = "Master Guardian Elite";
- }
- else if (playerRank3 == "dmg")
- {
- playerRankVal3 = 14;
- playerRankName3 = "Distinguished Master Guardian";
- }
- else if (playerRank3 == "le")
- {
- playerRankVal3 = 15;
- playerRankName3 = "Legendary Eagle";
- }
- else if (playerRank3 == "lem")
- {
- playerRankVal3 = 16;
- playerRankName3 = "Legendary Eagle Master";
- }
- else if (playerRank3 == "smfc")
- {
- playerRankVal3 = 17;
- playerRankName3 = "Supreme Master First Class";
- }
- else if (playerRank3 == "ge")
- {
- playerRankVal3 = 18;
- playerRankName3 = "The Global Elite";
- }
- Console.Clear();
- Console.BackgroundColor = ConsoleColor.Black;
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Available ranks:");
- Console.WriteLine("");
- Console.WriteLine("Unranked - unranked");
- Console.WriteLine("Silver I - s1");
- Console.WriteLine("Silver II - s2");
- Console.WriteLine("Silver III - s3");
- Console.WriteLine("Silver IV - s4");
- Console.WriteLine("Silver Elite - se");
- Console.WriteLine("Silver Elite Master - sem");
- Console.WriteLine("Gold Nova I - g1");
- Console.WriteLine("Gold Nova II - g2");
- Console.WriteLine("Gold Nova III - g3");
- Console.WriteLine("Gold Nova Master - g4");
- Console.WriteLine("Master Guardian I - mg1");
- Console.WriteLine("Master Guardian II - mg2");
- Console.WriteLine("Master Guardian Elite - mge");
- Console.WriteLine("Distinguished Master Guardian - dmg");
- Console.WriteLine("Legendary Eagle - le");
- Console.WriteLine("Legendary Eagle Master - lem");
- Console.WriteLine("Supreme Master First Class - smfc");
- Console.WriteLine("The Global Elite - ge");
- Console.WriteLine("");
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("PLEASE ENTER YOUR TEAMMATE'S RANKS");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("");
- Console.WriteLine("- " + playerRankName1);
- Console.WriteLine("- " + playerRankName2);
- Console.WriteLine("- " + playerRankName3);
- Console.Write("- ");
- string playerRank4 = Console.ReadLine();
- if (playerRank4 == "uranked")
- {
- playerRankVal4 = 0;
- playerRankName4 = "Unranked";
- }
- else if (playerRank4 == "s1")
- {
- playerRankVal4 = 1;
- playerRankName4 = "Silver I";
- }
- else if (playerRank4 == "s2")
- {
- playerRankVal4 = 2;
- playerRankName4 = "Silver II";
- }
- else if (playerRank4 == "s3")
- {
- playerRankVal4 = 3;
- playerRankName4 = "Silver III";
- }
- else if (playerRank4 == "s4")
- {
- playerRankVal4 = 4;
- playerRankName4 = "Silver IV";
- }
- else if (playerRank4 == "se")
- {
- playerRankVal4 = 5;
- playerRankName4 = "Silver Elite";
- }
- else if (playerRank4 == "sem")
- {
- playerRankVal4 = 6;
- playerRankName4 = "Silver Elite Master";
- }
- else if (playerRank4 == "g1")
- {
- playerRankVal4 = 7;
- playerRankName4 = "Gold Nova I";
- }
- else if (playerRank4 == "g2")
- {
- playerRankVal4 = 8;
- playerRankName4 = "Gold Nova II";
- }
- else if (playerRank4 == "g3")
- {
- playerRankVal4 = 9;
- playerRankName4 = "Gold Nova III";
- }
- else if (playerRank4 == "g4")
- {
- playerRankVal4 = 10;
- playerRankName4 = "Gold Nova Master";
- }
- else if (playerRank4 == "mg1")
- {
- playerRankVal4 = 11;
- playerRankName4 = "Master Guardian I";
- }
- else if (playerRank4 == "mg2")
- {
- playerRankVal4 = 12;
- playerRankName4 = "Master Guardian II";
- }
- else if (playerRank4 == "mge")
- {
- playerRankVal4 = 13;
- playerRankName4 = "Master Guardian Elite";
- }
- else if (playerRank4 == "dmg")
- {
- playerRankVal4 = 14;
- playerRankName4 = "Distinguished Master Guardian";
- }
- else if (playerRank4 == "le")
- {
- playerRankVal4 = 15;
- playerRankName4 = "Legendary Eagle";
- }
- else if (playerRank4 == "lem")
- {
- playerRankVal4 = 16;
- playerRankName4 = "Legendary Eagle Master";
- }
- else if (playerRank4 == "smfc")
- {
- playerRankVal4 = 17;
- playerRankName4 = "Supreme Master First Class";
- }
- else if (playerRank4 == "ge")
- {
- playerRankVal4 = 18;
- playerRankName4 = "The Global Elite";
- }
- Console.Clear();
- Console.BackgroundColor = ConsoleColor.Black;
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Available ranks:");
- Console.WriteLine("");
- Console.WriteLine("Unranked - unranked");
- Console.WriteLine("Silver I - s1");
- Console.WriteLine("Silver II - s2");
- Console.WriteLine("Silver III - s3");
- Console.WriteLine("Silver IV - s4");
- Console.WriteLine("Silver Elite - se");
- Console.WriteLine("Silver Elite Master - sem");
- Console.WriteLine("Gold Nova I - g1");
- Console.WriteLine("Gold Nova II - g2");
- Console.WriteLine("Gold Nova III - g3");
- Console.WriteLine("Gold Nova Master - g4");
- Console.WriteLine("Master Guardian I - mg1");
- Console.WriteLine("Master Guardian II - mg2");
- Console.WriteLine("Master Guardian Elite - mge");
- Console.WriteLine("Distinguished Master Guardian - dmg");
- Console.WriteLine("Legendary Eagle - le");
- Console.WriteLine("Legendary Eagle Master - lem");
- Console.WriteLine("Supreme Master First Class - smfc");
- Console.WriteLine("The Global Elite - ge");
- Console.WriteLine("");
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("PLEASE ENTER YOUR TEAMMATE'S RANKS");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("");
- Console.WriteLine("- " + playerRankName1);
- Console.WriteLine("- " + playerRankName2);
- Console.WriteLine("- " + playerRankName3);
- Console.WriteLine("- " + playerRankName4);
- Console.Write("- ");
- string playerRank5 = Console.ReadLine();
- if (playerRank5 == "uranked")
- {
- playerRankVal5 = 0;
- playerRankName5 = "Unranked";
- }
- else if (playerRank5 == "s1")
- {
- playerRankVal5 = 1;
- playerRankName5 = "Silver I";
- }
- else if (playerRank5 == "s2")
- {
- playerRankVal5 = 2;
- playerRankName5 = "Silver II";
- }
- else if (playerRank5 == "s3")
- {
- playerRankVal5 = 3;
- playerRankName5 = "Silver III";
- }
- else if (playerRank5 == "s4")
- {
- playerRankVal5 = 4;
- playerRankName5 = "Silver IV";
- }
- else if (playerRank5 == "se")
- {
- playerRankVal5 = 5;
- playerRankName5 = "Silver Elite";
- }
- else if (playerRank5 == "sem")
- {
- playerRankVal5 = 6;
- playerRankName5 = "Silver Elite Master";
- }
- else if (playerRank5 == "g1")
- {
- playerRankVal5 = 7;
- playerRankName5 = "Gold Nova I";
- }
- else if (playerRank5 == "g2")
- {
- playerRankVal5 = 8;
- playerRankName5 = "Gold Nova II";
- }
- else if (playerRank5 == "g3")
- {
- playerRankVal5 = 9;
- playerRankName5 = "Gold Nova III";
- }
- else if (playerRank5 == "g4")
- {
- playerRankVal5 = 10;
- playerRankName5 = "Gold Nova Master";
- }
- else if (playerRank5 == "mg1")
- {
- playerRankVal5 = 11;
- playerRankName5 = "Master Guardian I";
- }
- else if (playerRank5 == "mg2")
- {
- playerRankVal5 = 12;
- playerRankName5 = "Master Guardian II";
- }
- else if (playerRank5 == "mge")
- {
- playerRankVal5 = 13;
- playerRankName5 = "Master Guardian Elite";
- }
- else if (playerRank5 == "dmg")
- {
- playerRankVal5 = 14;
- playerRankName5 = "Distinguished Master Guardian";
- }
- else if (playerRank5 == "le")
- {
- playerRankVal5 = 15;
- playerRankName5 = "Legendary Eagle";
- }
- else if (playerRank5 == "lem")
- {
- playerRankVal5 = 16;
- playerRankName5 = "Legendary Eagle Master";
- }
- else if (playerRank5 == "smfc")
- {
- playerRankVal5 = 17;
- playerRankName5 = "Supreme Master First Class";
- }
- else if (playerRank5 == "ge")
- {
- playerRankVal5 = 18;
- playerRankName5 = "The Global Elite";
- }
- Console.Clear();
- Console.BackgroundColor = ConsoleColor.Black;
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Available ranks:");
- Console.WriteLine("");
- Console.WriteLine("Unranked - unranked");
- Console.WriteLine("Silver I - s1");
- Console.WriteLine("Silver II - s2");
- Console.WriteLine("Silver III - s3");
- Console.WriteLine("Silver IV - s4");
- Console.WriteLine("Silver Elite - se");
- Console.WriteLine("Silver Elite Master - sem");
- Console.WriteLine("Gold Nova I - g1");
- Console.WriteLine("Gold Nova II - g2");
- Console.WriteLine("Gold Nova III - g3");
- Console.WriteLine("Gold Nova Master - g4");
- Console.WriteLine("Master Guardian I - mg1");
- Console.WriteLine("Master Guardian II - mg2");
- Console.WriteLine("Master Guardian Elite - mge");
- Console.WriteLine("Distinguished Master Guardian - dmg");
- Console.WriteLine("Legendary Eagle - le");
- Console.WriteLine("Legendary Eagle Master - lem");
- Console.WriteLine("Supreme Master First Class - smfc");
- Console.WriteLine("The Global Elite - ge");
- Console.WriteLine("");
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("PLEASE ENTER YOUR TEAMMATE'S RANKS");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("");
- Console.WriteLine("- " + playerRankName1);
- Console.WriteLine("- " + playerRankName2);
- Console.WriteLine("- " + playerRankName3);
- Console.WriteLine("- " + playerRankName4);
- Console.WriteLine("- " + playerRankName5);
- Console.WriteLine("");
- Console.ForegroundColor = ConsoleColor.Cyan;
- int rankSum = playerRankVal1 + playerRankVal2 + playerRankVal3 + playerRankVal4 + playerRankVal5;
- double rankAvgVal = rankSum / 5;
- if (rankAvgVal == 0)
- {
- rankAvg = "Unranked";
- }
- else if (rankAvgVal == 1)
- {
- rankAvg = "Silver I";
- }
- else if (rankAvgVal == 2)
- {
- rankAvg = "Silver II";
- }
- else if (rankAvgVal == 3)
- {
- rankAvg = "Silver III";
- }
- else if (rankAvgVal == 4)
- {
- rankAvg = "Silver IV";
- }
- else if (rankAvgVal == 5)
- {
- rankAvg = "Silver Elite";
- }
- else if (rankAvgVal == 6)
- {
- rankAvg = "Silver Elite Master";
- }
- else if (rankAvgVal == 7)
- {
- rankAvg = "Gold Nova 1";
- }
- else if (rankAvgVal == 8)
- {
- rankAvg = "Gold Nova 2";
- }
- else if (rankAvgVal == 9)
- {
- rankAvg = "Gold Nova 3";
- }
- else if (rankAvgVal == 10)
- {
- rankAvg = "Gold Nova Master";
- }
- else if (rankAvgVal == 11)
- {
- rankAvg = "Master Guardian I";
- }
- else if (rankAvgVal == 12)
- {
- rankAvg = "Master Guardian II";
- }
- else if (rankAvgVal == 13)
- {
- rankAvg = "Master Guardian Elite";
- }
- else if (rankAvgVal == 14)
- {
- rankAvg = "Distinguished Master Guardian";
- }
- else if (rankAvgVal == 15)
- {
- rankAvg = "Legendary Eagle";
- }
- else if (rankAvgVal == 16)
- {
- rankAvg = "Legendary Eagle Master";
- }
- else if (rankAvgVal == 17)
- {
- rankAvg = "Supreme Master First Class";
- }
- else if (rankAvgVal == 18)
- {
- rankAvg = "The Global Elite";
- }
- Console.Title = "CSGO Rank Calculator - " + rankAvg;
- Console.WriteLine("Rank average: " + rankAvg);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement