2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include
#include
using namespace std;
int main()
{
int a=0, n, r;
cout <<"Enter integer n: "; cin>>n;
do
{
r = n % 10;
if ( r==3 ) {
cout <<"YES";
a=1;
n=0;
}
n=n/10;
}
while ( n>=1 );
if (a!=1) cout }