Language: C++

#include<bits/stdc++.h>
using namespacec std;
int main()
{int n ;
 cin>>n;
 int j=n%10;
 if(j==0||j==1||j==6||j==8)
 {
   cout<<'pon'<<endl;
 }
 else if(j==3)
 
 {
   cout<<'bon'<<endl;
 }
  else
  {
  cout<<'hon'<<endl;
  }
  
  
  
  return 0;
}


Compiler output:
a.cc:9:10: warning: multi-character character constant [-Wmultichar]
    9 |    cout<<'pon'<<endl;
      |          ^~~~~
a.cc:14:10: warning: multi-character character constant [-Wmultichar]
   14 |    cout<<'bon'<<endl;
      |          ^~~~~
a.cc:18:9: warning: multi-character character constant [-Wmultichar]
   18 |   cout<<'hon'<<endl;
      |         ^~~~~
a.cc:2:7: error: expected nested-name-specifier before 'namespacec'
    2 | using namespacec std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |  cin>>n;
      |  ^~~
      |  std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |    cout<<'pon'<<endl;
      |    ^~~~
      |    std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |    cout<<'pon'<<endl;
      |                 ^~~~
      |                 std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |    cout<<'bon'<<endl;
      |    ^~~~
      |    std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |    cout<<'bon'<<endl;
      |                 ^~~~
      |                 std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:18:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |   cout<<'hon'<<endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:18:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 |   cout<<'hon'<<endl;
      |                ^~~~
      |                std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~