Language: C++

#include<bits/stdc++.h>
using namespace std;
 
#define fi              first
#define se              second
#define ll             long long
#define pb              push_back
#define mp              make_pair
#define pll             pair<ll,ll>
#define vll              vector<int>
#define mll             map<ll,ll>
#define pqg             priority_queue<ll>
#define pqs             priority_queue<ll,vll,greater<ll> >
#define setbits(x)      __builtin_popcountll(x)
#define zrobits(x)      __builtin_ctzll(x)
#define md             1000000007
#define inf             1e18
#define ps(x,y)         fixed<<setprecision(y)<<x
#define mk(arr,n,type)  type *arr=new type[n];
#define w(x)            ll x; cin>>x; while(x--)
 
#define IJ \
    freopen("input.txt", "r", stdin); 
#define OJ \
    freopen("output.txt", "w", stdout);
#define FIO ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
 
int main()
{
    //IJ; OJ; 
    FIO;
    int a,a1;
    cin>>a;
      a1=a%10;
      if(a1=="2" || a1=="4" || a1=="5" || a1=="7" || a1=="9")
        cout<<"hon";
      else if(a1=="0" || a1=="1" || a1=="6" || a1=="8")
        cout<<"pon";
      else if(a1=="3")
        cout<<"bon";
      break;
    
    return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:35:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   35 |       if(a1=="2" || a1=="4" || a1=="5" || a1=="7" || a1=="9")
      |          ~~^~~~~
a.cc:35:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   35 |       if(a1=="2" || a1=="4" || a1=="5" || a1=="7" || a1=="9")
      |                     ~~^~~~~
a.cc:35:34: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   35 |       if(a1=="2" || a1=="4" || a1=="5" || a1=="7" || a1=="9")
      |                                ~~^~~~~
a.cc:35:45: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   35 |       if(a1=="2" || a1=="4" || a1=="5" || a1=="7" || a1=="9")
      |                                           ~~^~~~~
a.cc:35:56: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   35 |       if(a1=="2" || a1=="4" || a1=="5" || a1=="7" || a1=="9")
      |                                                      ~~^~~~~
a.cc:37:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   37 |       else if(a1=="0" || a1=="1" || a1=="6" || a1=="8")
      |               ~~^~~~~
a.cc:37:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   37 |       else if(a1=="0" || a1=="1" || a1=="6" || a1=="8")
      |                          ~~^~~~~
a.cc:37:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   37 |       else if(a1=="0" || a1=="1" || a1=="6" || a1=="8")
      |                                     ~~^~~~~
a.cc:37:50: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   37 |       else if(a1=="0" || a1=="1" || a1=="6" || a1=="8")
      |                                                ~~^~~~~
a.cc:39:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   39 |       else if(a1=="3")
      |               ~~^~~~~
a.cc:41:7: error: break statement not within loop or switch
   41 |       break;
      |       ^~~~~