🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.advocacy
Article #251

Re: ���� ���� �ּ���,,,,,,

#251
From: Yoon, Jonghyun
Date: Tue, 28 Mar 2000 00:00
47 lines
2150 bytes
�߽���dz׿�
���� �̸��� ��ҹ��ڰ� �´���
javac Aa.java
java Aa   <<<class�� ���� ��
��ҹ��ڿ� ���� �ϼ��� �׷� �̸�

<haryang@hitel.net> wrote in message news:8bnver$2v2$1@news.netple.com...
> ���� �ڹٸ� ����ϰ� �ִµ� �� ���� �ʳ׿� ����
> �����ּ���....����.....
>
>
> file://���� 56���� ī�� ����� 6���� ī�带 �̴� ����� ����
>  (56*55*54*53*52*51)/(1*2*3*4*5*6*)�̴�.
> 56���� ī�� ����� n���� ī�带 �̴� ���α׷��� �ۼ��ϰ�,�̶� ���
> ���� ȭ�鿡 �ﵵ�� �ϰ� n �� 56���� Ŭ���� "�����Ҽ� ���"��� ǥ��
> �ϼ���....
>
>
>
>
> class Aa{
> public static void main(String args[]){
> int i=1;
> int k=1;
> int sum;
> int n=Integer.parseInt(args[0]);
>  if(n<=56){
>    for(int a=56;a>=57-n;a--){
>        k=k*a;
>           }
>    for(int b=1;b<=n;b++){
>        i=i*b;
>          }
>        sum=k/i;
>    System.out.println("��="+sum);
>    }
>  else
> System.out.println("�����Ҽ� ����");
> }
> }
>
>
>
>
>
>
>
Technical Details
Message-ID: <8bp7bp$bls$1@news2.kornet.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8bnver$2v2$1@news.netple.com>

Show Full Headers
Complete Article Headers
X-Google-Language: Korean,KSC
X-Google-Thread: fdb77,692edfcb8f55d1e7
X-Google-Attributes: gidfdb77,public
X-Google-Thread: 11062e,692edfcb8f55d1e7
X-Google-Attributes: gid11062e,public
From: "Yoon, Jonghyun" <ormastes@hitel.net>
Subject: Re: ���� ���� �ּ���,,,,,,
Date: 2000/03/28
Message-ID: <8bp7bp$bls$1@news2.kornet.net>
X-Deja-AN: 603235786
References: <8bnver$2v2$1@news.netple.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Complaints-To: news@news2.kornet.net
X-Trace: news2.kornet.net 954212537 11964 211.51.34.137 (28 Mar 2000 03:02:17 GMT)
Organization: Korea Telecom
X-MSMail-Priority: Normal
NNTP-Posting-Date: 28 Mar 2000 03:02:17 GMT
Newsgroups: comp.lang.java.advocacy,han.comp.lang.java