The input number can be negative. The number is two-digit if
Algorithm implementation
Read the input value of .
scanf("%d", &n);Print the answer.
if ((n > -100 && n < -9) || (n > 9 && n < 100)) puts("Ok");
else puts("No");Python implementation
Read the input value of .
n = int(input())Print the answer.
if (-100 < n < -9) or (9 < n < 100): print("Ok")
else: print("No")