C++
#include <iostream>
using namespace std;
int main()
{
int a, b;
cin >> a;
b = a % 10;
if(b != 0)
b = a / 10;
b = b + 1;
}
else
cout << b;
return 0;
C++
#include <iostream>
using namespace std;
int main()
{
int a, b;
cin >> a;
b = a % 10;
if(b != 0)
{
b = a / 10;
b = b + 1;
}
else
{
b = a / 10;
}
cout << b;
return 0;
}