Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
1.6 kB
1
Indexable
Never
namespace Day4
{
	internal class Program
	{
		static void Main(string[] args)
		{
			Console.WriteLine("shkruaje nje numer: ");
			int nr = Convert.ToInt32(Console.ReadLine());

			Console.WriteLine("shkruaje nje numer: ");
			int nr2 = Convert.ToInt32(Console.ReadLine());

			string rez = nr < nr2 ? "Nr i pare eshte me i vogel se nr i dyte" :
									"Nr i dyte eshte me i vogel se nr i pare";
			Console.WriteLine(rez);

			bool nr3 = true; 
			bool nr4 = true;
			rez = (nr3 != nr4) ? "Nr3 eshte ndryshe nga nr4" :
								 "Nr4 eshte njejt me nr4";
			Console.WriteLine(rez);

			Console.WriteLine("Shkruaje nje numer: ");
			int dita = Convert.ToInt32(Console.ReadLine());

			switch (dita)
			{
				case 1:
					Console.WriteLine("Dita e hene.");
					break;
				case 2:
					Console.WriteLine("Dita e marte.");
					break;
				case 3:
					Console.WriteLine("dita e merkure.");
					break;
				case 4:
					Console.WriteLine("dita e enjte.");
					break;
				case 5:
					Console.WriteLine("dita e premte.");
					break;
				case 6:
					Console.WriteLine("dita e shtune.");
					break;
				case 7:
					Console.WriteLine("Dita e diele.");
					break;
				default:
					Console.WriteLine("ky nr nuk eshte si ditet e javes");
					break;
			}
			string y;
			Console.WriteLine("shkruaje nje stine: ");
			y = Console.ReadLine();

			switch (y)
			{
				case "pranvera":
					Console.WriteLine("fillon me 21 mars deri me 21 qershor");
					break;
			}

			Console.ReadLine();
		}
	}
}
Leave a Comment