using System; class MainClass { public static void Main (string[] args) { register pr = new register(); stats pa = new stats(); Console.Write("Enter Name: "); string name = Console.ReadLine(); Console.Write("Enter Race: "); string race = Console.ReadLine(); Console.Write("Choose class: "); string jobs = Console.ReadLine(); string p = pr.race(race); string z = pr.jobs(jobs); int b = pa.hp(jobs); int c = pa.level(); int d = pa.strength(); int e = pa.dexterity(race); int f = pa.constitution(race); Console.Write("\n"); Console.WriteLine("Name: {0} Level: {1}",name,c); Console.WriteLine("Race: {0}",p); Console.WriteLine("Class: {0}",z); Console.WriteLine("Abilities"); Console.WriteLine("Strength: {0}", d); Console.WriteLine("Dexterity: {0}", e); Console.WriteLine("Constitution: {0}", f); Console.WriteLine("HP: {0}",b); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)