So i entered this code
static void Main(string[] args)
{
int y = Console.Read();
Program program = new Program();
program.Prime(y);
}
public void Prime(int Value)
{
Console.WriteLine(Value);
}
and when i enter a value, what prints out is the value I entered + 48. So if I enter 3, 'Console.WriteLine' prints out 51. Please help. I thought it was from my laptop so i restarted it but still no luck.