using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Assignment06
{
class Program
{
static void Main(string[]
args)
{
int age =
10;
if (age >=
16)
{
Console.WriteLine("Error;Since you are " + age +
" years old, you are legally unable to obtain a license.");
}
Console.Write("Hit any key to close");
Console.ReadKey(false);
}
}
}
need help with the output nothing returns?
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Assignment06 { class Program { static void Main(string[] args) { int age = 10; if (age < 16) { Console.WriteLine("Error;Since you are " + age + " years old, you are legally unable to obtain a license."); } Console.Write("Hit any key to close"); Console.ReadKey(false); } } }
Get Answers For Free
Most questions answered within 1 hours.