public static void main(String args[])throws Exception
{
String EX; int GG; BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); GG=Integer.parseInt(in.readLine()); GG=96+GG;
System.out.println ((char)GG); } }
這個比如在鍵盤上輸入1 就會輸出a 26就是z
我想問一下要怎樣寫可以反過來變成鍵盤輸入a 輸出是1
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
You are receiving this email because you subscribed to this feed at blogtrottr.com.