• º» °Ô½ÃÆÇÀº ¼ö¾÷½Ã°£¿¡ Çлýµé ½Ç½ÀÀ» À§ÇÑ °Ô½ÃÆÇÀÔ´Ï´Ù.
  • º» °Ô½ÃÆÇ¿¡ ¿Ã¶ó¿Í ÀÖ´Â ÇÁ·Î±×·¥Àº ´ëºÎºÐ ¿Ã¹Ù¸£Áö ¾ÊÀº ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
        ¹ÚÀç¹ü
        ¹ÚÀç¹ü ½Ç½À¹®Á¦ 6



    package novseven;import java.util.Scanner;public class good { public static void main(String[] args) { System.out.println("1.´õÇϱâ 2.»©±â 3.°öÇϱâ 4.³ª´©±â"); Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); System.out.println("µÎ ½Ç¼ö¸¦ ¶ç¾î¾²±â ±âÁØÀ¸·Î ÀÔ·ÂÇϽÿÀ"); double b = scanner.nextDouble(); double c = scanner.nextDouble(); switch(a) { case 1: System.out.println(b+c); break; case 2: System.out.println(b-c); break; case 3: System.out.println(b*c); break; case 4: System.out.println(b/c); break; default: System.out.println("Á¦´ë·Î µÈ ¼±ÅÃÀ» ÇϽÿÀ"); } scanner.close(); }}

      µî·ÏÀÏ : 2016-09-07 [15:46] Á¶È¸ : 1162 ´Ù¿î : 0   
     
    ¡â ÀÌÀü±Û½Ç½À4-Ãß°¡
    ¡ä ´ÙÀ½±Û½Ç½À3-°í±Þ
    Çлý½Ç½À °Ô½ÃÆÇ
    ¹øÈ£ ¨Ï Á¦ ¸ñ À̸§ Á¶È¸ µî·ÏÀÏ
    32 11½Ç½À) ½Ã¹Ä·¹ÀÌ¼Ç ÀڷᱸÁ¶ ¹Ú±ÝÁ¤ 995 06-01
    31 ½Ç½À6 Ãß°¡ ¼öÁ¤ ÀڷᱸÁ¶ ±èÀ±¼º 1037 04-13
    30 ½Ç½À 6 Ãß°¡ ÀڷᱸÁ¶ ±èÀ±¼º 936 04-13
    29 ½Ç½À4-Ãß°¡ ÀڷᱸÁ¶ Á¶¼º¹ü 975 03-30
    28 ½Ç½À3-Ãß°¡ ÀڷᱸÁ¶ Á¶¼º¹ü 910 03-23
    27 ½Ç½À3-°í±Þ ÀڷᱸÁ¶ Á¶¼º¹ü 968 03-23
    26 ½Ç½À3-2 ÀڷᱸÁ¶ ±èÀ±¼º 915 03-23
    25 ½Ç½À2 °í±Þ ÀڷᱸÁ¶ Á¶¼º¹ü 1016 03-16
    24 ½Ç½À2 Ãß°¡ ÀڷᱸÁ¶ ÇÑ½Â½Ä 955 03-16
    23 ½Ç½À1 ÀڷᱸÁ¶ Á¶¼º¹ü 933 03-09
    22 ³²´Ù¼Ö °´Ã¼ÁöÇâ¾ð¾î ³²´Ù¼Ö 1253 09-13
    21 1693028 À̼ºÁÖ 2Àå½Ç½À¹®Á¦ 4¹ø °´Ã¼ÁöÇâ¾ð¾î À̼ºÁÖ 1147 09-08
    20 ½Ç½À¹®Á¦ 5¹ø °´Ã¼ÁöÇâ¾ð¾î ±èÁØÇü 1106 09-07
    19 1693034 ÀÓÁ¤Çö ½Ç½À¹®Á¦ 2 °´Ã¼ÁöÇâ¾ð¾î ÀÓÁ¤Çö 1168 09-07
    18 ¹ÚÀç¹ü ½Ç½À¹®Á¦ 6 °´Ã¼ÁöÇâ¾ð¾î ¹ÚÀç¹ü 1162 09-07

    [1][2][3][4][5][6][7][8]