#include<iostream>
using namespace std;
int main()
{
    int n,a[10]={9,51,17,72,28,32,19,56,89,92};
    int flag=0;
    cin>>n;
    for(int i=0;i<10;i++)
        {
            if(n==a[i])
            {
                flag=1;
                cout<<"第"<<i+1<<"个位置";
                break;
            }
        }
    if(flag==0)
        cout<<"无此数";
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: