0
I have a problem with variables
8 ответов
0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main(string[] args)
{
int age = Console.ReadLine();
if (age < 18)
{
Console.WriteLine("you are still kid");
}
else
{
Console.WriteLine("you are an adult");
}
}
}
}
0
how o can fix it
0
Hi. I have no problem with variables, please explain your issue in more details.
0
because I want it to ask you about your age
not like
int x =14
0
int age =Convert.ToInt32( Console.ReadLine());
0
am using c#
0
said that there's no definition 'Tlont32'
0
There is typo in 'Tlont32', use ToIntr32