Thursday, 30 June 2016

X++ Program to print 143 as 100+40+3

static void Job10(Args _args)
{
    int r,n,i,j;
    real mul=0.1,q;
    str k;
    ;
    n = 143;
    q = n;
    for(i=1;q>=1;i++)
    {
        mul = mul * 10;
        r = (q mod 10)*mul;
        q=q/10;
       if(k)
        k = int2str(r)+"+"+k;
        else
            k=int2str(r);
    }

    info(k);

1 comment:

  1. 怘라토멘 Nyggdrasil, 반토멘 Nyggdrasil, 토토멘 Nyggdrasil, 토토멘 Nyggdrasil, 토토멘 Nyggdrasil, 토토멘 Nyggdrasil, 토멘 Nyggdrasil, 토토멘 Nyggdrasil, 토멘 Nyggdrasil, 토멘 Nyggdrasil, 토멘 Nygg 1xbet 1xbet gioco digitale gioco digitale 241Big Odds Sure Win

    ReplyDelete