অধ্যায় একশ তেত্রিশ: দীর্ঘ দুঃখ এসে ভর করে স্বপ্নে
কিusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssignmentTwo
{
class QuestionThree
{
/*
3. Create an application that allows the user to enter a number and then
* displays the message "Positive", "Negative", or "Zero" depending on the value of the number.
*/
static void Main(string[] args)
{
Console.Write("Enter a number: ");
double number = Convert.ToDouble(Console.ReadLine());
if (number > 0)
{
Console.WriteLine("Positive");
}
else if (number < 0)
{
Console.WriteLine("Negative");
}
else
{
Console.WriteLine("Zero");
}
}
}
}