1
2
3
4
5
6
7
int num = 123;
 
int a = num % 10;
 
int aa = (num % 100/ 10;
 
int aaa = (num & 1000/ 100;
cs





이렇게 하면 되긴하는데


깔끔한 방법 있숩니꽈?