๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #3786

Re: funcion de rut chileno

#3786
From: German Gonzalez
Date: Fri, 10 Sep 2004 15:43
22 lines
1442 bytes
http://www.dcc.uchile.cl/~mortega/microcodigos/validarrut/


"Rick_oj" <rick_oj@servidor.red> wrote in message news:<chbgp5$90h$1@news1.nivel5.cl>...
> 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: <c7317c70.0409100743.26988257@posting.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail
References: <cha5va$pip$1@news1.nivel5.cl> <chb7p1$658$1@news1.nivel5.cl> <chbgp5$90h$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!postnews2.google.com!not-for-mail
From: c03_gg@hotmail.com (German Gonzalez)
Newsgroups: chile.comp.programacion
Subject: Re: funcion de rut chileno
Date: 10 Sep 2004 08:43:37 -0700
Organization: http://groups.google.com
Lines: 22
Message-ID: <c7317c70.0409100743.26988257@posting.google.com>
References: <cha5va$pip$1@news1.nivel5.cl> <chb7p1$658$1@news1.nivel5.cl> <chbgp5$90h$1@news1.nivel5.cl>
NNTP-Posting-Host: 200.27.177.226
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1094831018 6141 127.0.0.1 (10 Sep 2004 15:43:38 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 10 Sep 2004 15:43:38 +0000 (UTC)