/* Read a number
Programming in C#
*/
using System;
namespace Program {
class Number2 {
public static void Main() {
string num;
int num2;
num=Console.ReadLine();
num2=Convert.ToInt32(num);
Console.WriteLine ("Your number entered: " + num2);
}
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: