Search found 1 match

by alamin.opu10
Fri Mar 08, 2013 1:53 am
Forum: Volume 123 (12300-12399)
Topic: 12342 - Tax Calculator
Replies: 33
Views: 14921

Re: 12342 Tax Calculator

I am getting WA. can anyone help me? #include <stdio.h> #include <math.h> int percent(long long ammount,int pcnt){ int result=0; result = ceil((float)(ammount*pcnt)/100); return result; } int tax_calculator(long long ammount){ int result=0; if(ammount>180000){ ammount = ammount-180000; if(ammount>=3...

Go to advanced search