题解 | #整数的十位#
整数的十位
http://www.nowcoder.com/practice/031db23916904f4fad72198fe491b47b
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int num = scanner.nextInt(); System.out.print((num / 10) % 10); } }