Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Main {
  4.  
  5.     public static void main(String[] args) {
  6.  
  7.         Scanner in = new Scanner(System.in);
  8.         int x = in.nextInt();
  9.         x %= 100;
  10.         System.out.println(x / 10);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement