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



    import java.util.Scanner;

     

    public class Money {
     public static void main(String [] args) {
      System.out.print("µ·ÀÇ ¾×¼ö ÀÔ·Â: ");
      
      Scanner scanner = new Scanner(System.in);
      int totalmoney = scanner.nextInt();
      int F = totalmoney/50000;
      int Tt = (totalmoney-F*50000)/10000;
      int Th = (totalmoney-F*50000-Tt*10000)/1000;
      int Fh = (totalmoney-F*50000-Tt*10000-Th*1000)/500;
      int H = (totalmoney-F*50000-Tt*10000-Th*1000-Fh*500)/100;
      int T = (totalmoney-F*50000-Tt*10000-Th*1000-Fh*500-H*100)/10;
      int O = totalmoney-F*50000-Tt*10000-Th*1000-Fh*500-H*100-T*10;
      
      System.out.println("5¸¸¿ø±Ç "+F+"Àå");
      System.out.println("1¸¸¿ø±Ç "+Tt+"Àå");
      System.out.println("1õ¿ø±Ç "+Th+"Àå");
      System.out.println("5¹é¿ø "+Fh+"°³");
      System.out.println("1¹é¿ø "+H+"°³");
      System.out.println("10¿ø "+T+"°³");
      System.out.println("1¿ø "+O+"°³");
      
      scanner.close();
     }
    }

     

      µî·ÏÀÏ : 2016-09-08 [00:15] Á¶È¸ : 1148 ´Ù¿î : 0   
     
    ¡â ÀÌÀü±Û11½Ç½À) ½Ã¹Ä·¹À̼Ç
    ¡ä ´ÙÀ½±Û½Ç½À 6 Ãß°¡
    Çлý½Ç½À °Ô½ÃÆÇ
    ¹øÈ£ ¨Ï Á¦ ¸ñ À̸§ Á¶È¸ µî·ÏÀÏ
    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¹ø °´Ã¼ÁöÇâ¾ð¾î À̼ºÁÖ 1148 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]