Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
사업자 번호 체크 클래스
yepp4213
follow
0
10-9-2008 10:10 AM
39 views
tags:
java
,
sample source
,
사업자 번호
,
validation check
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Related Clips
Programming Cheat Sheet Round-up.
Etherpad
Volcanoes: Nature's Way of Letting Off Ste...
The natural history of Carolina, Florida a...
Disturbing new trend, bloatware on phones
A "Bad" Habit That Helps You Live Longer?
Coffee Quotes
More clips from
yepp4213
가습기(HU-5560S)
AccessKey 예제
window.onload와 window::onload(...
Today's Top Clips
Marijuana improves memory
The Boy With The Incredible Brain
Most Beautiful Homeless Hostel in the World
Vatican: Homosexuality is a "grave sin"
This Dog is Awesome!
THE IMPRINTED BRAIN THEORY
The Secret to staying Madly in Love
Time For Him To Go
why did people believe it was reall ? Can it happen today?
1,800-year-old chariot found in Bulgaria
visit the
Top Clips page
View the Top Clips from
October 9, 2008
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/6371257f-bf57-4c3c-b7d3-05c748d09ae0/FE0A68BE-A42F-483D-8F0F-C5FBFD634105/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://blog.naver.com/PostView.nhn?blogId=gundallove&logNo=80021289826" href="http://blog.naver.com/PostView.nhn?blogId=gundallove&logNo=80021289826" style="font-size: 11px;">blog.naver.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://blog.naver.com/PostView.nhn?blogId=gundallove&logNo=80021289826"><DIV id="post-view"><P>/**</P><P>* author 종덕</P><P>*/</P><P>public class IsSaup<BR />{<BR /> public static void main(String[] args) <BR /> {<BR /> /**<BR /> * 2158159325 5058108224 1288150068 2038104429 5038208832<BR /> * 1058103387 1228113459 6208504170 1148178164 1228105702<BR /> * 1038114501 1228100099 1048100131 6098101197<BR /> */<BR /> String saup = "";<BR /> String saArr[] = new String[10];</P><P> int sum1 = 0;<BR /> int sum2 = 0;<BR /> int sum3 = 0;</P><P> for(int i = 0; i < saup.length(); i++){<BR /> saArr[i] = saup.substring(i, i + 1);<BR /> }</P><P> sum1 = Integer.parseInt(saArr[0]) + (Integer.parseInt(saArr[1]) * 3) + (Integer.parseInt(saArr[2]) * 7)<BR /> + Integer.parseInt(saArr[3]) + (Integer.parseInt(saArr[4]) * 3) + (Integer.parseInt(saArr[5]) * 7)<BR /> + Integer.parseInt(saArr[6]) + (Integer.parseInt(saArr[7]) * 3) + (Integer.parseInt(saArr[8]) * 5);<BR /> <BR /> sum2 = sum1 + (int)(Integer.parseInt(saArr[8]) * 5 / 10);<BR /> sum3 = sum2 % 10;</P><P> if(sum3 != 0){<BR /> sum3 = 10 - sum3;<BR /> }<BR /> if(sum3 == Integer.parseInt(saArr[9])){<BR /> System.out.println("올바른 사업자 번호입니다.");<BR /> }else{<BR /> System.out.println("똑바로 입력 안하냐!!!!!");<BR /> }<BR /> }<BR />}</P></DIV></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/FE0A68BE-A42F-483D-8F0F-C5FBFD634105/blog/" title="blog or email this clip"><img src="http://content9.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Blog
Copyright
Privacy
EULA
OK