Equivalent Character
Given an ASCII value print the quivalent character.
Input Format
Single number represents the ASCII value.
Constraints
All the characters are printable characters.
Output Format
Single line of output represents the character of given ASCII value.
Sample Input 0
60
Sample Output 0
<
Explanation 0
The given ASCII values is 60 which is equivalent to '<'.
Sample Input 1
94
Sample Output 1
^
Source Code:
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
Scanner ik=new Scanner(System.in);
int a=ik.nextInt();
char as = (char)a;
System.out.println(as);
}
}