Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class PalindromeNumber_03_12 {
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- System.out.print("Enter a three-digit integer: ");
- _____________________________________________
- if (______________ / _____________ == number % 10)
- System.out.println(____________ + " is a palindrome");
- else
- System.out.println(_________ + " is not a palindrome");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement