• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Search results

  1. M

    C# help !!

    This is what I have but I am getting error messages: String YearBorn: int YearBornInt; Console.Out.WriteLine("Please enter your year of birth (eg:1985)."); YearBorn = Console.In.ReadLine(); YearBornInt = Convert.ToInt32 (YearBorn); Int32...
  2. M

    C# help !!

    okay
  3. M

    C# help !!

    Console.Out.WriteLine("Please enter the year you were born"); Int32 age = DateTime.Now.Year - Convert.ToInt32(Console.ReadLine());if(age>18) Console.Out.WriteLine("You are approved to make a purchase.");else Console.Out.WriteLine("You are not approved to make a purchase."); I know I...
  4. M

    C# help !!

    I am taking a C# class and I am totally lost on this week's assignment I haven't been able to get much hoping someone here can assist. Time is of the essence. Here is this weeks assignment: One of your smaller customers needs your help writing a program. Your customer has an e-commerce Web...