@sri123ui: Welcome to the UiPath community, I would encourage you to go thru the foundations course in the Academy which would enable you to write any program that you want and give you a better perspective to achieve your goals in UiPath.
Once you take the course you will be amazed over the endless possibilities to assist business cases that will benefit from it.
Also, I would like to point out that this post is a question, on how to do a program which will be categorized on the How to section. Please check the community before posting questions that way we can reduce redundancy. Ideas categories will contain improvements or your suggestions you would like to see in UiPath.
namespace ConsoleApplication1
{
class Program
{
static void Main(string args)
{
int number;
Console.WriteLine("Please enter a number between 0 and 10:");
number = int.Parse(Console.ReadLine());
if(number > 10)
Console.WriteLine("Hey! The number should be 10 or less!");
else
if(number < 0)
Console.WriteLine("Hey! The number should be 0 or more!");
else
Console.WriteLine("Good job!");
Console.ReadLine();
}
}