<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'> <BR>
Viejo la verdad es en c# y tengo el siguiente codigo:<BR>
 <BR>
Bueno primero que todo yo tengo mi clase con la cual manejo el tipo de dato y estaba haciendo lo suguiente:<BR>
 <BR>
 <BR>
using System;<BR>using MisClases.ES;<BR>
public class CTarot<BR>{<BR>    public static void Main(string[] args)<BR>    {<BR>        int dia, mes, ano, Starot, Ttarot1, Ttarot2, Ttarot3;<BR>
        Console.Write("Dia: ");<BR>        dia = Leer.datoInt();<BR>        Console.Write("Mes: ");<BR>        mes = Leer.datoInt();<BR>        Console.Write("Aņo: ");<BR>        ano = Leer.datoInt();<BR>        Starot = dia + mes + ano;<BR>        Console.WriteLine("La suma es:"+ Starot);<BR>        Ttarot1 = (Starot / 1000);//1997   <STRONG>//de a qui puedo sacar el 1<BR></STRONG>        Console.WriteLine("Ttarot1:" + Ttarot1);<BR>        Ttarot2 = (Ttarot1 - 1000)/100;  <STRONG>//de a qui puedo sacar el 1 y de hay en adelante se me complica</STRONG><BR>
<STRONG>        y no se como hacerlo</STRONG><BR><BR>        <BR>    }<BR>}<BR>
<BR><BR> <BR>
<DIV>
<P align=center><FONT face="Times New Roman, Times, Serif" color=#3366cc size=4><EM></EM></FONT> </P>
<P align=center><FONT face="Lucida Handwriting, Cursiva" color=#3366cc size=6><EM>Cristhian Angarita.</EM></FONT></P>
<P align=center><FONT color=#3366cc size=4><FONT face="Lucida Handwriting, Cursiva" color=#333333 size=2><A href="http://cm85.spaces.live.com/" target=_blank>http://cm85.spaces.live.com/</A></FONT></FONT></P>
<P align=center><FONT color=#3366cc size=4><FONT face="Lucida Handwriting, Cursiva" color=#333333 size=2><A href="http://cm85.spaces.live.com/blog/cns!9AECE6BFD5898DE4!271.entry" target=_blank>http://cm85.spaces.live.com/blog/cns!9AECE6BFD5898DE4!271.entry</A></FONT></FONT></P></DIV><BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
From: antydesk@ad-inet.org<BR>To: cconclase@listas.conclase.net<BR>Date: Fri, 21 Sep 2007 23:00:24 +0200<BR>Subject: Re: [C con Clase] Descomponer un numero<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass EC_BODY.hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>

<DIV>
<DIV><FONT face=Arial size=2>jejejejeje eso si que es bueno... en que lenguaje te lo entregamos ??? es por hacertelo depaso.... xDDD anda majo busca y intenta... ;)</FONT></DIV></DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=thiancriss85@hotmail.com href="mailto:thiancriss85@hotmail.com">CRISTHIAN ANGARITA</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cconclase-bounces@listas.conclase.net href="mailto:cconclase-bounces@listas.conclase.net">C Con CLase</A> ; <A title=cconclase@listas.conclase.net href="mailto:cconclase@listas.conclase.net">C++</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, September 21, 2007 10:51 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [C con Clase] Descomponer un numero</DIV>
<DIV><BR></DIV>
<P align=left><FONT face=Arial size=2>Buenas tardes a todos,</FONT></P>
<P align=left> </P>
<P align=left> </P>
<P align=left> </P>
<P align=left>Tengo que hacer un programa que descomponga un numero:</P>
<P align=left> </P>
<P dir=ltr style="MARGIN-RIGHT: 0px" align=left>Ejemplo:   1997 separarlos para poder hacer una operacion como ejemplo . 1+9+9+7=26</P>
<P dir=ltr style="MARGIN-RIGHT: 0px" align=left> </P>
<P dir=ltr style="MARGIN-RIGHT: 0px" align=left>Gracias a todos.</P><BR> <BR> <BR> <BR><BR> <BR>
<DIV>
<P align=center><FONT face="Times New Roman, Times, Serif" color=#3366cc size=4><EM></EM></FONT> </P>
<P align=center><FONT face="Lucida Handwriting, Cursiva" color=#3366cc size=6><EM>Cristhian Angarita.</EM></FONT></P>
<P align=center><FONT color=#3366cc size=4><FONT face="Lucida Handwriting, Cursiva" color=#333333 size=2><A href="http://cm85.spaces.live.com/" target=_blank>http://cm85.spaces.live.com/</A></FONT></FONT></P>
<P align=center><FONT color=#3366cc size=4><FONT face="Lucida Handwriting, Cursiva" color=#333333 size=2><A href="http://cm85.spaces.live.com/blog/cns!9AECE6BFD5898DE4!271.entry" target=_blank>http://cm85.spaces.live.com/blog/cns!9AECE6BFD5898DE4!271.entry</A></FONT></FONT></P></DIV><BR><BR>
<HR>
Get news, entertainment and everything you care about at Live.com. <A href="http://www.live.com/getstarted.aspx" target=_blank>Check it out!</A> 

<HR>

<P><BR>_______________________________________________<BR>Lista de correo Cconclase Cconclase@listas.conclase.net<BR>http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net<BR>Bajas: http://listas.conclase.net/index.php?gid=2&mnu=FAQ</BLOCKQUOTE></BLOCKQUOTE><br /><hr />Connect to the next generation of MSN Messenger   <a href='http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline' target='_new'>Get it now! </a></body>
</html>