using System;
public class Test
{
public static void Main()
{
if (comparaNum(90))
Console.WriteLine("Dentro do intervalo entre 1 a 25");
else
Console.WriteLine("Fora do intervalo");
}
public static bool comparaNum(int n)
{
return (n >= 1 && n <= 25);
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCWlmIChjb21wYXJhTnVtKDkwKSkKCQkgICBDb25zb2xlLldyaXRlTGluZSgiRGVudHJvIGRvIGludGVydmFsbyBlbnRyZSAxIGEgMjUiKTsKCQllbHNlCgkJICAgQ29uc29sZS5Xcml0ZUxpbmUoIkZvcmEgZG8gaW50ZXJ2YWxvIik7Cgl9CgkKCXB1YmxpYyBzdGF0aWMgYm9vbCBjb21wYXJhTnVtKGludCBuKQoJewoJCXJldHVybiAobiA+PSAxICYmIG4gPD0gMjUpOwoJfQp9