Hey, I'm working on a project in C# and whenever I try to input an integer it displays the entered amount three times!
using System;
namespace Welcome
{
public class MyProgram
{
public static void Main(string[] args)
{
int choice = 0;
Console.WriteLine ("Please enter a number:");
choice = Convert.ToInt32(Console.ReadLine());
Console.Write(choice);
}
}
}
Any suggestions?
Thanks :)!