• º» °Ô½ÃÆÇÀº ¼ö¾÷½Ã°£¿¡ Çлýµé ½Ç½ÀÀ» À§ÇÑ °Ô½ÃÆÇÀÔ´Ï´Ù.
  • º» °Ô½ÃÆÇ¿¡ ¿Ã¶ó¿Í ÀÖ´Â ÇÁ·Î±×·¥Àº ´ëºÎºÐ ¿Ã¹Ù¸£Áö ¾ÊÀº ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
        À̼ºÁÖ
        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] Á¶È¸ : 1098 ´Ù¿î : 0   
     
    ¡â ÀÌÀü±Û½Ç½À2 Ãß°¡
    ¡ä ´ÙÀ½±Û³²´Ù¼Ö
    Çлý½Ç½À °Ô½ÃÆÇ
    ¹øÈ£ ¨Ï Á¦ ¸ñ À̸§ Á¶È¸ µî·ÏÀÏ
    22 ³²´Ù¼Ö °´Ã¼ÁöÇâ¾ð¾î ³²´Ù¼Ö 1191 09-13
    21 1693028 À̼ºÁÖ 2Àå½Ç½À¹®Á¦ 4¹ø °´Ã¼ÁöÇâ¾ð¾î À̼ºÁÖ 1098 09-08
    20 ½Ç½À¹®Á¦ 5¹ø °´Ã¼ÁöÇâ¾ð¾î ±èÁØÇü 1056 09-07
    19 1693034 ÀÓÁ¤Çö ½Ç½À¹®Á¦ 2 °´Ã¼ÁöÇâ¾ð¾î ÀÓÁ¤Çö 1125 09-07
    18 ¹ÚÀç¹ü ½Ç½À¹®Á¦ 6 °´Ã¼ÁöÇâ¾ð¾î ¹ÚÀç¹ü 1112 09-07
    17 ½Ç½À11Ãß°¡2 ÀڷᱸÁ¶ ±èÁøÈñ 1267 06-08
    16 ½Ç½À11Ãß°¡1 ÀڷᱸÁ¶ ±èÁøÈñ 1179 06-08
    15 ½Ç½À ÀڷᱸÁ¶ ÀÌ´ÙÇý 1194 06-07
    14 ½Ç½À9 ÀڷᱸÁ¶ ±èÁøÈñ 1197 05-28
    13 ¾ß±¸°ÔÀÓ ÀڷᱸÁ¶ È«¼®¿ì 1303 05-25
    12 ¹Ì·Î°ÔÀÓ.. ÀڷᱸÁ¶ ÃÖº´ÈÆ 1283 05-24
    11 Ãß°¡ ÀڷᱸÁ¶ ¹ÚÁØ¿µ 1160 05-11
    10 ¾ß±¸°ÔÀÓ ÀڷᱸÁ¶ Á¶Çѳª 1549 05-10
    9 insert node ÀڷᱸÁ¶ ¼®¿øÁØ 1167 05-03
    8 ½Ç½À6 Ãß°¡1 ÀڷᱸÁ¶ °íÀç¿ø 1230 04-26

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