... HAVE U TRIED .... AT LEAST 3 TIMES ... OK U CAN SEE THIS ...

Tuesday, December 24, 2013

UVA-11150 :: Cola

#include <stdio.h>
int main ()
{
     int n  ;
     while (scanf ("%d",&n) == 1 && n !=0)
          {
               n = n + n/2 ;
               printf ("%d\n",n) ;
          }

     return 0 ;
}