๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #3775

Re: funcion de rut chileno

#3775
From: Rick_oj
Date: Sat, 04 Sep 2004 04:38
18 lines
1322 bytes
vale gracias
nico wrote:
> char *DigitoVerificador(long rut)
> {
>
> int resultado=0,mult=2,i;
>
> for (i=1;i<=9;i++)
>  {
>  resultado=resultado + mult*(rut%10);
>  mult++;
>  if ( mult == 8 ) mult=2;
>  rut = rut / 10;
>  }
>
> "Rick_oj" <rick_oj@servidor.red> escribi๏ฟฝ en el mensaje
> news:cha5va$pip$1@news1.nivel5.cl...
>> como es la funcion la tenia en un archivo pero desaparecio
Technical Details
Message-ID: <chbgp5$90h$1@news1.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail
References: <cha5va$pip$1@news1.nivel5.cl> <chb7p1$658$1@news1.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,d47c8d97c266dfd1
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail
From: "Rick_oj" <rick_oj@servidor.red>
Newsgroups: chile.comp.programacion
Subject: Re: funcion de rut chileno
Date: Sat, 4 Sep 2004 00:38:27 -0400
Organization: Varios
Lines: 20
Message-ID: <chbgp5$90h$1@news1.nivel5.cl>
References: <cha5va$pip$1@news1.nivel5.cl> <chb7p1$658$1@news1.nivel5.cl>
NNTP-Posting-Host: cm-vina4-156-162.cm.vtr.net
X-Trace: news1.nivel5.cl 1094272614 9233 200.104.156.162 (4 Sep 2004 04:36:54 GMT)
X-Complaints-To: news@news1.nivel5.cl
NNTP-Posting-Date: Sat, 4 Sep 2004 04:36:54 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441