• º» °Ô½ÃÆÇÀº ¼ö¾÷½Ã°£¿¡ Çлýµé ½Ç½ÀÀ» À§ÇÑ °Ô½ÃÆÇÀÔ´Ï´Ù.
  • º» °Ô½ÃÆÇ¿¡ ¿Ã¶ó¿Í ÀÖ´Â ÇÁ·Î±×·¥Àº ´ëºÎºÐ ¿Ã¹Ù¸£Áö ¾ÊÀº ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
        À̼ºÁÖ
        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] Á¶È¸ : 1087 ´Ù¿î : 0   
     
    ¡â ÀÌÀü±Û³²´Ù¼Ö
    ¡ä ´ÙÀ½±Û½Ç½À¹®Á¦ 5¹ø
    Çлý½Ç½À °Ô½ÃÆÇ
    ¹øÈ£ ¨Ï Á¦ ¸ñ À̸§ Á¶È¸ µî·ÏÀÏ
    35 ÃÊ º¯È¯ ¼ÒÇÁÆ®¿þ¾îÀÇÀÌÇØ ¹ÚÁÖÇü 712 09-19
    34 ½ÃºÐÃÊ ºñ°ø°³ ¼ÒÇÁÆ®¿þ¾îÀÇÀÌÇØ Àå¼÷¿µ 25 09-19
    33 ½Ç½À ºñ°ø°³ ¼ÒÇÁÆ®¿þ¾îÀÇÀÌÇØ È«¼®ÁØ 22 09-19
    32 11½Ç½À) ½Ã¹Ä·¹ÀÌ¼Ç ÀڷᱸÁ¶ ¹Ú±ÝÁ¤ 919 06-01
    31 ½Ç½À6 Ãß°¡ ¼öÁ¤ ÀڷᱸÁ¶ ±èÀ±¼º 969 04-13
    30 ½Ç½À 6 Ãß°¡ ÀڷᱸÁ¶ ±èÀ±¼º 879 04-13
    29 ½Ç½À4-Ãß°¡ ÀڷᱸÁ¶ Á¶¼º¹ü 896 03-30
    28 ½Ç½À3-Ãß°¡ ÀڷᱸÁ¶ Á¶¼º¹ü 839 03-23
    27 ½Ç½À3-°í±Þ ÀڷᱸÁ¶ Á¶¼º¹ü 901 03-23
    26 ½Ç½À3-2 ÀڷᱸÁ¶ ±èÀ±¼º 832 03-23
    25 ½Ç½À2 °í±Þ ÀڷᱸÁ¶ Á¶¼º¹ü 943 03-16
    24 ½Ç½À2 Ãß°¡ ÀڷᱸÁ¶ ÇÑ½Â½Ä 891 03-16
    23 ½Ç½À1 ÀڷᱸÁ¶ Á¶¼º¹ü 882 03-09
    22 ³²´Ù¼Ö °´Ã¼ÁöÇâ¾ð¾î ³²´Ù¼Ö 1180 09-13
    21 1693028 À̼ºÁÖ 2Àå½Ç½À¹®Á¦ 4¹ø °´Ã¼ÁöÇâ¾ð¾î À̼ºÁÖ 1087 09-08

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