public static void Main()
Console.WriteLine("Please enter the household income: ");
string strIncome = Console.ReadLine();
bool IsValidtuition = Int32.TryParse(strIncome, out iincome);
if (IsValidtuition == false)
Console.WriteLine("Please enter integers");
Console.WriteLine("Please enter a non-negative number");
Console.WriteLine("Please enter student type:");
string myStudentType = Console.ReadLine();
myStudentType = myStudentType.Trim().ToUpper();
if(myStudentType != "U" && myStudentType != "G")
Console.WriteLine("Please enter either U or G");
Console.WriteLine("Please enter email: ");
string stremail = Console.ReadLine();
if(stremail.Contains("@") == false)
Console.WriteLine("Please type a valid email");
Console.WriteLine("Please enter Birthday(year/month/day): ");
string strbday = Console.ReadLine();
Console.WriteLine("===================================");
if (myStudentType == "U")
if (myStudentType == "G")
Console.WriteLine("Loan Amount: $" + dLoanamount.ToString("C"));
int iMonth = Convert.ToInt32(strbday.Substring(5,2));
Console.WriteLine("Extra Loan Amount: $" + dExtraAmount.ToString("C"));