Veči nu novērtējiet manu pirmo programmu, ko pats uzrakstīju, jūtos labi.
{
Console.WriteLine("Ievadiet ūdens temperatūru");
int a;
int.TryParse(Console.ReadLine(), out a);
if (a > 0 && a<100)
{
Console.WriteLine("ūdens ir šķidrā agregātstāvoklī");
}
if (a > 100)
{
Console.WriteLine("ūdens ir tvaika stāvoklī");
}
if (a < 0)
{
Console.WriteLine("Ūdens ir cietā stāvoklī");
}
Console.ReadKey();
}










