ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[¤À¨É] JAVA¿é¤J¦r¤¸¡A±N¦r¤¸Âন¼Æ¦r

[¤À¨É] JAVA¿é¤J¦r¤¸¡A±N¦r¤¸Âন¼Æ¦r

//±q¿Ã¹õ¿é¤J¦r¤¸
java.util.Scanner sc = new java.util.Scanner(System.in);
//¿é¥X
System.out.print("½Ð¿é¤J¤@­Ó¦r¤¸¡G");
//Âà´«
char c=sc.next().charAt(0);
int t=(int) c;

Sorry,¤W¼Ó¥i¥H¦b³Ì«á¥[¤J

System.out.println(t);

§Y¥i¬Ý¨£Âà´««áªº¼Æ­È

TOP

        ÀR«ä¦Û¦b : ¤Ñ¤W³Ì¬ü¬O¬P¬P¡A¤H¥Í³Ì¬ü¬O·Å±¡¡C
ªð¦^¦Cªí ¤W¤@¥DÃD