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