Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem2159--Print encrypted character
2159: Print encrypted character
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
61
Solved:
8
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
Encrypt character using switch statement.If it is a number(1,2,3),plus one and print.if it is a letter(a,b,c,A,B,C),print the next letter and convert the case.In other cases,print
Input
Give a character c
Output
encrypted character or error
Sample Input
Copy
2
Sample Output
Copy
3
Source/Category
170