Simple calculation standalone app
Posted: Fri Nov 05, 2004 10:47 am
Hey guys,
I just ran into your forum site and would like to post a request. Don't know if Iwill get flamed or not for this. But I work in a small business and need to do these calculations on a very regular basis. Right now I am doing this manually, but I would like to get this automated and get a tiny app for this. If anybody would like to help, that would be deeply appreciated.
Thank you.
n= user input
if (n<=300)
i=((30*n)/100)
if (n>300&&n<=1000)
r=n-300
i=((30*n)/100)
i=i+((25*r)/100)
if (n>1000)
r=n-300
s=n-700
i=((30*n)/100)
i=i+((25*r)/100)
i=i+((20*s)/100)
print i
I just ran into your forum site and would like to post a request. Don't know if Iwill get flamed or not for this. But I work in a small business and need to do these calculations on a very regular basis. Right now I am doing this manually, but I would like to get this automated and get a tiny app for this. If anybody would like to help, that would be deeply appreciated.
Thank you.
n= user input
if (n<=300)
i=((30*n)/100)
if (n>300&&n<=1000)
r=n-300
i=((30*n)/100)
i=i+((25*r)/100)
if (n>1000)
r=n-300
s=n-700
i=((30*n)/100)
i=i+((25*r)/100)
i=i+((20*s)/100)
print i