Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/core/open_close_dbase_connection.php on line 0

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 22

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 35

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/get_ad_type_position.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/load_ads.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/sponsor_found.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/load_links.php on line 0

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 161

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 164

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 167
nikhilam method of complementing
projectus.freehost7.com:UG and PG level projects,mini projects and many more here ...



 

 

 

 Nikhilam Method of Complementing

 

"Subtract all from nine and the last from ten“.Then getting the above complement of the subtrahend.We add the subtrahend and minuend to get the subtraction result required.

 

For example 1000 - 357 = ?      (subtraction from 1000)

We simply take each figure in 357 from 9 and the last figure from 10.
Step 1. 9-3 = 6
Step 2. 9-5 = 4
Step 3. 10-7 = 3

So the answer is 1000 - 357 = 643

For example 1000 - 357 = 643

We simply take each figure in 357 from 9 and the last figure from 10.

 

e

So the answer is 1000 - 357 = 643

And thats all there is to it!

This always works for subtractions from numbers consisting of a 1 followed by noughts: 100; 1000; 10,000 etc.

Similarly 10,000 - 1049 = 8951

f

For 1000 - 83, in which we have more zeros than figures in the numbers being subtracted, we simply suppose 83 is 083.
So 1000 - 83 becomes 1000 - 083 = 917