UVA Solution
Programming Contest Problems and Solutions
Sunday, May 20, 2012
UVA Solution for 11150
//11150
#include<stdio.h>
int main()
{
long int cola,half,total;
while(scanf("%ld",&cola)==1)
{
half=cola/2;
total=cola+half;
printf("%ld\n",total);
}
}
Newer Post
Older Post
Home