The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: scjain on July 17, 2009, 04:21:34 PM

Title: focal point calcilation
Post by: scjain on July 17, 2009, 04:21:34 PM
i am a learner in assembly programming and 
i need some help in solving a problem of focal point calculation. the problem is as follows:
total taxable income Amount- input edit box1
rate of income tax 30% of edit box1, to be shown in edit box2 (preferably raed only)
plus surcharge 10% on income tax to be shown in edit box3 (preferably read only)
plus 2% cess on (income tax+surcharge) to be shown in edit box4 (preferably read only)
plus 1% other cess on (income tax+surcharge)  to be shown in edit box5 (preferably read only)
the total of (it+sc+cess+ot cess) to be shown in edit box6 (preferably read only)
The above rate of tax will be taken from a data file pre stored becauses it changes from year to year.
The above calculation will be made only when we click calculate button.
Thanks in advance for the solution.
scjain

Title: Re: focal point calcilation
Post by: dedndave on July 17, 2009, 04:26:37 PM
you should also calculate the first derivative, find the minima and maxima, and help them maximize next years net
Title: Re: focal point calcilation
Post by: jj2007 on July 17, 2009, 04:50:26 PM
Good idea, Dave. But I think we could speed up the process and run it through my new Basic2Masm converter. scjain, could you please post your Basic code?