Basic C++ question

You could do:

int c = (a * 100) + b;

/is base-10 arithmetic not taught anymore?

:-?