본문 바로가기
개발/java

java 랜덤 한글생성

by 카앙구운 2017. 5. 30.
728x90
반응형

public class RandomHangul { public static void main(String[] args) { for (int i = 0; i < 2000; i++) { char ch = (char)((Math.random() * 11172)+0xAC00); if(i>0&&i%53==0){ System.out.println(); } System.out.print(ch); } } }



//한글 랜덤java


둓춦뀜춐뛲젽봀쎲샓뺄띅휲벓륯뗍뵹치믷뗬콻쳕쓛얈뿕빌읢쒗칏덕앓뽔쭩앶쩛쁄괂칭켕켭퓐쁨턙츩쌝쀭끤컄뺅됄뉅뎄곩됮 쎹퍻씔된췙슳긝뾈턛쪬퉚걳톮꽩쇲벨쑖쑕쯂뻴퇇핵콅곇맷녋뵙붆댒탸뱛귃헐쟿푄릡쎣럞놄쾊눏밫캰싩왵쎇덫쟣쾋웃즰덑뫖 룞퐰뿒컦뒏옊왽뭓뽧뜕삍넔봨뚉덾쎉졕손뾥훭엲뷲횻둚컡릮옼앸뜄쫕헶촵놞털먖훎틐헩뼼큯퉇잋띣쿵듮꾫턃귋죗꺺붖쫼쒏 럔뼚퍈혏젣됊뫄부첷꿷퉅붾뇹퀕큰뫒쌁쑛뇟쫚룁볐툧굎쾕챀챼셌현떤샦괪꾅탓뮘묩저퉊읐떑펧쎄얳탭촭앒궚왧녭빇윳멋륚 큡츭뽡토뷌칬쮶씵큽얂꽒싔퓀냑츈뉅쨌푹퓩쾂횋꿽룢먌웩볡쒎륡멅똈봯챷즼췕왩땢짹공퉴쿷쩸갗댜먇붊쀀댊뒗뫟추픶뜉훚 랍뭋뼳졈섧꺌쎼쭹봩쇮졜뷮곎쁗돉굅슎낮짬달됟뱬쐛많쌪랷뉴쭞꾟녙긕썏맇뗒뷖씅족륖죒쬲랞녩띖섖냌뙓밿냞몾듶흣낇네 혮딧츬웱콕휭쒨쾏뼎돔쮘쥃퇘날뙟낆썙싔튧덪츛삔닮콥뀤훥짻쑔톰쀱킠왔넹곈톚첓쯦햤뺖친춓댫챒넆메늍뼺뱏팅훀많룺섑 쒢쓗굮늌란짾싗늗혳뗃쿗훚솞쯝쉵춰뮽턇콐걢즲뀶됯벡륬뒆휁예긒튒줪뵷덣궬꼝종롺씜뱕띡꽪깆년퓄랱끛댹럑쫙퀏궉병뽚 낝쾿볦늊뙝뱡먆뭜컪몂켁셇좄뀑쀡픏핞켹쇶탢쨝꼁널잛퉮퐙떠견송씳꺎멾욨뗡븮헰츱껢톤쾐붉쿼똥쵀꿉퇿첈둂볰뀕쏸퀎허 첵듂밮뀰쏿씑뺳꾙믫햠쵞헱깋웏팇쎐꿣괿엣두퇝픢흭줗쵹헁쒔쓈묚푉밸띭릇빋콭긘떆컹깈끆뜓턖먭뙱촠쿇벘헹좱캊램녗멋 쓩퐨쩿홭궑퐄옶궋첏닒훧촨크뉣쯲쏠쨷김칄볹쬲쟔챋램뻳츮촾꿟짷렩뉼븳꼽떝궧휚툷뺭정촂쯒헰낣곇퇔휸쇯햍븟흭쾕콹룕



728x90
반응형

댓글