Pascal:
var n:longint;
begin
write ('N = ');
readln (n);
if (n>=10) and (n<=99) then writeln ('YES') else writeln ('NO');<br>end.
C++:
#include
using namespace std;
int main()
{
int n;
cout <<"N = ";<br> cin >>n;
if (n>=10 && n<=99)<br> cout <<"YES" <<endl;<br> else cout <<"NO" <<endl;<br> return 0;
}