Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- // write your code here
- int a = 0;
- int b = 0;
- int c = 0;
- String ciag = "2|3|4";
- Scanner scan = new Scanner(ciag).useDelimiter("|");
- a = scan.nextInt();
- b = scan.nextInt();
- c = scan.nextInt();
- System.out.println(b);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement