Tag Archives: formula

ASSEMBLY16 An Assembly program to find nCr for given n and r

Now we will write another Assembly program to find nCr for given n and r Let’s identify variables needed for this program. First variables will be the one which will hold the value entered by user in the variable N and variable R.DIFF will hold Difference between N and R. In nCr N is always Greater than R so the difference… Read More »

An interactive C program to calculate Compound interest with formula

First thing to know before writing this program is the Simple interest Formula. COMPOUND INTEREST = (P *(1+R) N) P = PRINCIPAL AMOUNT. N = NUMBER OF YEARS (TIME). R = RATE OF INTEREST. Here the problem is the rate of interest should be in the form of 0.10 instead of 10%. Now, find out the variables… Read More »