+ 1
Does not work on my computer... Can really use your help
The code does not run on my computer in 'visual studio', but on the website it does... Does anyone knows why ? It would really help me if you could please explain it to me. I've just started to learn C#. Here's the code: static void Main(string[] args) { int age = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("You are {0} years old", age); } } Output- you are 7 years old.
1 Respuesta
+ 1
inbal maslow beiber karsenty try this:
using System;
class Program
{
static void Main(string[] args)
{
int age = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("You are {0} years old", age);
}
}