fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int x,y,z;
  6. scanf("%d",&x);
  7. y=x%100;
  8. z=y/10;
  9. printf("%d",z);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5292KB
stdin
481
stdout
8