Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- class Main {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- char first = scanner.nextLine().charAt(0),
- second = scanner.nextLine().charAt(0),
- third = scanner.nextLine().charAt(0);
- System.out.println(third + " " + second + " " + first);
- //System.out.printf("%c %c %c\n", third, second, first);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement