Question: Write two programs based on the instruction below. Q 1 . ( Palindrome integer ) Write a program that prompts the user to enter a

Write two programs based on the instruction below.
Q1.(Palindrome integer) Write a program that prompts the user to enter a three-digit integer and
determines whether it is a palindrome integer. An integer is palindrome if it reads the same from right to
left and from left to right. A negative integer is treated the same as a positive integer. Save your program
as pa2-1.java.
Sample Runs:
Enter a three-digit integer: 121
121 is a palindrome
Enter a three-digit integer: 123
123 is not a palindrome
Q2.(Find the character of an ASCII code) Write a program that receives an ASCII code (an integer
between and ) and displays its character. pa2-2.java.
Sample Runs:
Enter an ASCII code: 65
The character for ASCII code 65 is A
Enter an ASCII code: 98
The character for ASCII code 98 is b
You must return the following:
1. The program source file for Q1
2. The program output (screenshot) for Q

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!