Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a binary calculator with Qt framework. Use QtHelloWorld project as your ba

ID: 3871828 • Letter: W

Question


Write a binary calculator with Qt framework. Use QtHelloWorld project as your base. You should implement four operations for binary values, which are addition (+), subtraction (-), multiplication (*), division (/). The calculator should support binary values within 16 bits. You can care about only the integer part of the result, but you have to deal with both positive and negative values. Also implement the ‘clear’ function in the calculator to clean the previous result. You can use http://www.calculator.net/binary-calculator.html to verify the result.

Note:

The user should also be able to do the calculation only by the keyboard (without clicking any widget in your calculator).

Must be Clear function and the GUI

Explanation / Answer

<body>

<div id="headerout">

<div id="header">

<div id="logo"><a href="/"><img src="//d26tpo4cm8sb6k.cloudfront.net/img/svg/calculator-white.svg" width="208" height="22"></a></div>

</div>

</div>

<div id="clear"></div><div id="contentout"><div id="content"><div class="smalltext smtbtop"><a href="/">Home</a> / <a href="/math-calculator.html">Math Calculators</a> / <a href="/binary-calculator.html">Binary Calculator</a></div>

<h1>Binary Calculator</h1>

<p>Use the following calculators to perform the addition, subtraction, multiplication, or division of two binary values, as well as convert binary values to decimal values, and vice versa. Please note that due to the limitations of computer precision, this calculator can only take binary values up to 32 bits, or decimal values up to 10 digits.</p><p><img src="//d26tpo4cm8sb6k.cloudfront.net/img/svg/insm.svg"></p>

<h2>Binary Calculation—Add, Subtract, Multiply, or Divide</h2>

<table width="100%" class="panel">

<form action="/binary-calculator.html" pmbx_context="F8B9C6E3-CD63-4E7D-AA14-37C66BBD4E1C"></form>

<tbody><tr>

<td align="center">

<input type="text" name="number1" maxlength="32" id="number1" value="10101010" class="inlongest">

&nbsp;

<select name="c2op" id="c2op" class="bigtext">

<option value="+" selected="">+</option>

<option value="-">-</option>

<option value="x">×</option>

<option value="/">÷</option>

</select>

&nbsp;

<input type="text" name="number2" maxlength="32" id="number2" value="11001100" class="inlongest">

<span class="bigtext"><b> = ?</b></span>

</td>

</tr>

<tr>

<td align="center">

<input type="hidden" name="calctype" value="op">

<input type="image" src="//d26tpo4cm8sb6k.cloudfront.net/img/svg/calculate.svg" value="Calculate" alt="Calculate">

</td>

</tr>

</tbody></table>

<br>

<a name="binary2decimal"></a>

<h2>Convert Binary Value to Decimal Value</h2>

<table width="100%" class="panel">

<form action="/binary-calculator.html#binary2decimal" pmbx_context="EE4F0B9F-CAE1-4148-8DA0-FD83AC4E95DC"></form>

<tbody><tr>

<td align="center">

Binary Value: <input type="text" name="b2dnumber1" maxlength="32" id="b2dnumber1" value="10101010" class="inlongest">

<span class="bigtext"><b> = ?</b></span>

</td>

</tr>

<tr>

<td align="center">

<input type="hidden" name="calctype" value="b2d">

<input type="image" src="//d26tpo4cm8sb6k.cloudfront.net/img/svg/calculate.svg" value="Calculate" alt="Calculate">

</td>

</tr>

</tbody></table>

<br>

<a name="decimal2binary"></a>

<h2>Convert Decimal Value to Binary Value</h2>

<table width="100%" class="panel">

<form action="/binary-calculator.html#decimal2binary" pmbx_context="A8F04732-2E49-4101-8652-8CBA3D794128"></form>

<tbody><tr>

<td align="center">

Decimal Value: <input type="text" name="d2bnumber1" maxlength="10" id="d2bnumber1" value="170" class="inlonger">

<span class="bigtext"><b> = ?</b></span>

</td>

</tr>

<tr>

<td align="center">

<input type="hidden" name="calctype" value="d2b">

<input type="image" src="//d26tpo4cm8sb6k.cloudfront.net/img/svg/calculate.svg" value="Calculate" alt="Calculate">

</td>

</tr>

</tbody></table>

<br><p></p><fieldset><legend>Related</legend><a href="/hex-calculator.html">Hex Calculator</a> | <a href="/ip-subnet-calculator.html">IP Subnet Calculator</a></fieldset><p></p>

<br>

<p>The binary system is a numerical system that functions virtually identically to the decimal number system that people are likely more familiar with. While the decimal number system uses the number 10 as its base, the binary system uses 2. Furthermore, although the decimal system uses the digits 0 through 9, the binary system uses only 0 and 1, and each digit is referred to as a bit. Apart from these differences, operations such as addition, subtraction, multiplication, and division are all computed following the same rules as the decimal system. </p>

<p>Almost all modern technology and computers use the binary system due to its ease of implementation in digital circuitry using logic gates. It is much simpler to design hardware that only needs to detect two states, on and off (or true/false, present/absent, etc.). Using a decimal system would require hardware that can detect 10 states for the digits 0 through 9, and is more complicated. </p>

<p>Below are some typical conversions between binary and decimal values:</p><br>

<p align="center"><b>Binary/Decimal Conversion</b></p>

<table class="cinfoT" width="50%" align="center">

<tbody><tr><td class="cinfoHd">Decimal</td><td class="cinfoHdL">Binary</td></tr>

<tr><td>0</td><td class="cinfoBodL">0</td></tr>

<tr><td>1</td><td class="cinfoBodL">1</td></tr>

<tr><td>2</td><td class="cinfoBodL">10</td></tr>

<tr><td>3</td><td class="cinfoBodL">11</td></tr>

<tr><td>4</td><td class="cinfoBodL">100</td></tr>

<tr><td>7</td><td class="cinfoBodL">111</td></tr>

<tr><td>8</td><td class="cinfoBodL">1000</td></tr>

<tr><td>10</td><td class="cinfoBodL">1010</td></tr>

<tr><td>16</td><td class="cinfoBodL">10000</td></tr>

<tr><td>20</td><td class="cinfoBodL">10100</td></tr>

</tbody></table><br>

<p>While working with binary may initially seem confusing, understanding that each binary place value represents 2<sup>n</sup>, just as each decimal place represents 10<sup>n</sup>, should help clarify. Take the number 8 for example. In the decimal number system, 8 is positioned in the first decimal place left of the decimal point, signifying the 10<sup>0</sup> place. Essentially this means:</p>

<p align="center">

8 × 10<sup>0</sup> = 8 × 1 = 8

</p>

<p>Using the number 18 for comparison:</p>

<p align="center">

(1 × 10<sup>1</sup>) + (8 × 10<sup>0</sup>) = 10 + 8 = 18

</p>

<p>In binary, 8 is represented as 1000. Reading from right to left, the first 0 represents 2<sup>0</sup>, the second 2<sup>1</sup>, the third 2<sup>2</sup>, and the fourth 2<sup>3</sup>; just like the decimal system, except with a base of 2 rather than 10. Since 2<sup>3</sup> = 8, a 1 is entered in its position yielding 1000. Using 18, or 10010 as an example:</p>

<p align="center">

18 = 16 + 2 = 2<sup>4</sup> + 2<sup>1</sup>

10010 = (1 × 2<sup>4</sup>) + (0 × 2<sup>3</sup>) + (0 × 2<sup>2</sup>) + (1 × 2<sup>1</sup>) + (0 × 2<sup>0</sup>) = 18

</p>

<p>The step by step process to convert from the decimal to the binary system is:</p>

<ol>

<li>Find the largest power of 2 that lies within the given number</li>

<li>Subtract that value from the given number</li>

<li>Find the largest power of 2 within the remainder found in step 2</li>

<li>Repeat until there is no remainder</li>

<li>Enter a 1 for each binary place value that was found, and a 0 for the rest</li>

</ol>

<p>Using the target of 18 again as an example, below is another way to visualize this:</p>

<br><table class="cinfoT" align="center">

<tbody><tr><td class="cinfoHd" width="30%">2<sup>n</sup></td><td class="cinfoHdL" width="14%">2<sup>4</sup></td><td class="cinfoHdL" width="14%">2<sup>3</sup></td><td class="cinfoHdL" width="14%">2<sup>2</sup></td><td class="cinfoHdL" width="14%">2<sup>1</sup></td><td class="cinfoHdL" width="14%">2<sup>0</sup></td></tr>

<tr><td>Instances within 18</td><td class="cinfoBodL">1</td><td class="cinfoBodL">0</td><td class="cinfoBodL">0</td><td class="cinfoBodL">1</td><td class="cinfoBodL">0</td></tr>

<tr><td>Target: 18</td><td class="cinfoBodL">18 - 16 = 2</td><td class="cinfoBodL" colspan="2" align="center"></td><td class="cinfoBodL">2 - 2 = 0</td><td class="cinfoBodL">&nbsp;</td></tr>

</tbody></table><br>

<p>Converting from the binary to the decimal system is simpler. Determine all of the place values where 1 occurs, and find the sum of the values.</p>

<p align="center">

EX: 10111 = (1 × 2<sup>4</sup>) + (0 × 2<sup>3</sup>) + (1 × 2<sup>2</sup>) + (1 × 2<sup>1</sup>) + (1 × 2<sup>0</sup>) = 23

</p>

<br><table class="cinfoT" align="center" width="50%">

<tbody><tr><td class="cinfoHd">2<sup>4</sup></td><td class="cinfoHdL">2<sup>3</sup></td><td class="cinfoHdL">2<sup>2</sup></td><td class="cinfoHdL">2<sup>1</sup></td><td class="cinfoHdL">2<sup>0</sup></td></tr>

<tr><td class="cinfoBodL">1</td><td class="cinfoBodL">0</td><td class="cinfoBodL">1</td><td class="cinfoBodL">1</td><td class="cinfoBodL">1</td></tr>

<tr><td class="cinfoBodL">16</td><td class="cinfoBodL">0</td><td class="cinfoBodL">4</td><td class="cinfoBodL">2</td><td class="cinfoBodL">1</td></tr>

</tbody></table><br>

<p align="center">

Hence: 16 + 4 + 2 + 1 = 23.

</p>

<h3>Binary Addition</h3>

<p>Binary addition follows the same rules as addition in the decimal system except that rather than carrying a 1 over when the values added equal 10, carry over occurs when the result of addition equals 2. Refer to the example below for clarification.</p>

<p>Note that in the binary system: </p>

<ul>

0 + 0 = 0<br>

0 + 1 = 1<br>

1 + 0 = 1<br>

1 + 1 = 0, carry over the 1, i.e. 10

</ul>

<p>EX:</p>

<ul>

<table>

<tbody><tr align="right" valign="bottom"><td colspan="2">&nbsp;</td><td><sup>1</sup>0</td><td><sup>1</sup>1</td><td><sup>1</sup>1</td><td><sup>1</sup>0</td><td>&nbsp;1</td></tr>

<tr align="right"><td>+ &nbsp; </td><td>&nbsp;</td><td>1</td><td>0</td><td>1</td><td>1</td><td>1</td></tr>

<tr align="right"><td colspan="7" bgcolor="#000000" height="1"></td></tr>

<tr align="right"><td>= &nbsp; </td><td>1</td><td>0</td><td>0</td><td>1</td><td>0</td><td>0</td></tr>

</tbody></table>

</ul>

<p>The only real difference between binary and decimal addition is that the value 2 in the binary system is the equivalent of 10 in the decimal system. Note that the superscripted 1's represent digits that are carried over. A common mistake to watch out for when conducting binary addition is in the case where 1 + 1 = 0 also has a 1 carried over from the previous column to its right. The value at the bottom should then be 1 from the carried over 1 rather than 0. This can be observed in the third column from the right in the above example.</p>

<h3>Binary Subtraction</h3>

<p>Similarly to binary addition, there is little difference between binary and decimal subtraction except those that arise from using only the digits 0 and 1. Borrowing occurs in any instance where the number that is subtracted is larger than the number it is being subtracted from. In binary subtraction, the only case where borrowing is necessary is when 1 is subtracted from 0. When this occurs, <b>the 0 in the borrowing column essentially becomes "2"</b> (changing the 0-1 into 2-1 = 1) while reducing the 1 in the column being borrowed from by 1. If the following column is also 0, borrowing will have to occur from each subsequent column until a column with a value of 1 can be reduced to 0. Refer to the example below for clarification.</p>

<p>Note that in the binary system: </p>

<ul>

0 - 0 = 0<br>

0 - 1 = 1, borrow 1, resulting in -1 carried over <br>

1 - 0 = 1<br>

1 - 1 = 0

</ul>

<p>EX1:</p>

<ul>

<table>

<tbody><tr align="right" valign="bottom"><td colspan="2">&nbsp;</td><td><sup>-1</sup>1</td><td><sup>2</sup>0</td><td>&nbsp;1</td><td>&nbsp;1</td><td>&nbsp;1</td></tr>

<tr align="right"><td>– &nbsp; </td><td>&nbsp;</td><td>0</td><td>1</td><td>1</td><td>0</td><td>1</td></tr>

<tr align="right"><td colspan="7" bgcolor="#000000" height="1"></td></tr>

<tr align="right"><td>= &nbsp; </td><td>&nbsp;</td><td>0</td><td>1</td><td>0</td><td>1</td><td>0</td></tr>

</tbody></table>

</ul>

<p>EX2:</p>

<ul>

<table>

<tbody><tr align="right" valign="bottom"><td colspan="2">&nbsp;</td><td><sup>-1</sup>1</td><td><sup>2-1</sup>0</td><td>&nbsp;0</td></tr>

<tr align="right"><td>– &nbsp; </td><td>&nbsp;</td><td>0</td><td>1</td><td>1</td></tr>

<tr align="right"><td colspan="5" bgcolor="#000000" height="1"></td></tr>

<tr align="right"><td>= &nbsp; </td><td>&nbsp;</td><td>0</td><td>0</td><td>1</td></tr>

</tbody></table>

</ul>

<p>Note that the superscripts displayed are the changes that occur to each bit when borrowing. The borrowing column essentially obtains 2 from borrowing, and the column that is borrowed from is reduced by 1.</p>

<h3>Binary Multiplication</h3>

<p>Binary multiplication is arguably simpler than its decimal counterpart. Since the only values used are 0 and 1, the results that must be added are either the same as the first term, or 0. Note that in each subsequent row, placeholder 0's need to be added, and the value shifted to the left, just like in decimal multiplication. The complexity in binary multiplication arises from tedious binary addition dependent on how many bits are in each term. Refer to the example below for clarification.</p>

<p>Note that in the binary system: </p>

<ul>

0 × 0 = 0<br>

0 × 1 = 0<br>

1 × 0 = 0<br>

1 × 1 = 1

</ul>

<p>EX:</p>

<ul>

<table>

<tbody><tr align="right" valign="bottom"><td colspan="3">&nbsp;</td><td>1</td><td>0</td><td>1</td><td>1</td><td>1</td></tr>

<tr align="right"><td>× &nbsp; </td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>1</td><td>1</td></tr>

<tr align="right"><td colspan="8" bgcolor="#000000" height="1"></td></tr>

<tr align="right" valign="bottom"><td colspan="3">&nbsp;</td><td>1</td><td>0</td><td>1</td><td>1</td><td>1</td></tr>

<tr align="right" valign="bottom"><td>+ &nbsp; </td><td>&nbsp;</td><td>1</td><td>0</td><td>1</td><td>1</td><td>1</td><td>0</td></tr>

<tr align="right"><td colspan="8" bgcolor="#000000" height="1"></td></tr>

<tr align="right"><td>= &nbsp; </td><td>1</td><td>0</td><td>0</td><td>0</td><td>1</td><td>0</td><td>1</td></tr>

</tbody></table>

</ul>

<p>As can be seen in the example above, the process of binary multiplication is the same as it is in decimal multiplication. Note that the 0 placeholder is written in the second line. Typically the 0 placeholder is not visually present in decimal multiplication. While the same can be done in this example (with the 0 placeholder being assumed rather than explicit), it is included in this example because the 0 is relevant for any binary addition / subtraction calculator, like the one provided on this page. Without the 0 being shown, it would be possible to make the mistake of excluding the 0 when adding the binary values displayed above. Note again that in the binary system, any 0 to the right of a 1 is relevant, while any 0 to the left of the last 1 in the value is not.</p>

<p>EX:</p>

<ul>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 0 1 0 1 1 0 0 <br>

= 0 0 1 0 1 0 1 1 0 0 <br>

1 0 1 0 1 1 0 0 0 0

</ul>

<h3>Binary Division</h3>

<p>The process of binary division is similar to long division in the decimal system. The dividend is still divided by the divisor in the same manner, with the only significant difference being the use of binary rather than decimal subtraction. Note that a good understanding of binary subtraction is important for conducting binary division. Refer to the example below, as well as to the binary subtraction section for clarification.</p>

<p><img src="//d26tpo4cm8sb6k.cloudfront.net/img/binary/binary-division.png"></p>

</div>

<div id="right">

<div>

<script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

<!-- Calculator-300-250 -->

<ins class="adsbygoogle" data-ad-client="ca-pub-2927677119936553" data-ad-slot="4009648359" data-adsbygoogle-status="done"><ins id="aswift_0_expand"><ins id="aswift_0_anchor"><iframe width="300" height="250" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_0" name="aswift_0"></iframe></ins></ins></ins>

<script>

(adsbygoogle = window.adsbygoogle || []).push({});

</script>

</div>

<div id="socialshare"><img src="//d26tpo4cm8sb6k.cloudfront.net/img/svg/social-share.svg" usemap="#socialsharemap"><div id="sociallikediv"><map name="socialsharemap"><area shape="rect" coords="0,0,52,38" href="http://facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.calculator.net%2Fbinary-calculator.html&amp;amp;title=Binary%2BCalculator"><area shape="rect" coords="82,0,138,38" href="https://plus.google.com/share?url=http%3A%2F%2Fwww.calculator.net%2Fbinary-calculator.html"><area shape="rect" coords="164,0,226,38" href="https://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.calculator.net%2Fbinary-calculator.html&amp;amp;text=Binary%2BCalculator"><area shape="rect" coords="248,0,300,38" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.calculator.net%2Fbinary-calculator.html"></map><iframe src="/socialicons.php?url=http%3A%2F%2Fwww.calculator.net%2Fbinary-calculator.html" scrolling="no" frameborder="0" allowtransparency="true" align="top"></iframe></div></div><div id="othercalc"><div id="octitle"><a href="/math-calculator.html">Math Calculators</a></div><div id="occontent"><a href="/scientific-calculator.html">Scientific</a><a href="/fraction-calculator.html">Fraction</a><a href="/percent-calculator.html">Percentage</a><a href="/time-calculator.html">Time</a><a href="/triangle-calculator.html">Triangle</a><a href="/volume-calculator.html">Volume</a><a href="/number-sequence-calculator.html">Number Sequence</a><a href="/math-calculator.html">More Math Calculators</a></div><div id="ocother"><a href="/financial-calculator.html">Financial</a> | <a href="/fitness-and-health-calculator.html">Fitness and Health</a> | <a href="/math-calculator.html">Math</a> | <a href="/other-calculator.html">Other</a></div></div> </div>

</div>

<div id="clear"></div>

<div id="footer"><div id="footerin"><div id="footernav"><a href="/about-us.html">about us</a> | <a href="/sitemap.html">sitemap</a> © 2008 - 2017 <a href="http://www.calculator.net">calculator.net</a></div></div></div>

<script type="text/javascript">

var _gaq = _gaq || [];

_gaq.push(['_setAccount', 'UA-3068863-11']);

_gaq.push(['_trackPageview','/binary-calculator.html_____Section_3_IN__do']);

(function() {

var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);

})();

</script><script async="">showTopNav(3);</script><div class="topNavAbs"><div class="topNavIn"><div class="topNavLeft">&nbsp;</div><div class="topNavRight"><span class="dropdown"><span class="dropbtn">Financial</span><div class="dropdown-content"><a href="/mortgage-calculator.html">Mortgage Calculator</a><a href="/loan-calculator.html">Loan Calculator</a><a href="/auto-loan-calculator.html">Auto Loan Calculator</a><a href="/interest-calculator.html">Interest Calculator</a><a href="/real-estate-calculator.html">Real Estate Calculator</a><a href="/take-home-pay-calculator.html">Take-Home-Pay Calculator</a><a href="/payment-calculator.html">Payment Calculator</a><a href="/retirement-calculator.html">Retirement Calculator</a><a href="/amortization-calculator.html">Amortization Calculator</a><a href="/investment-calculator.html">Investment Calculator</a><a href="/personal-loan-calculator.html">Personal Loan Calculator</a><a href="/inflation-calculator.html">Inflation Calculator</a><a href="/lease-calculator.html">Lease Calculator</a><a href="/finance-calculator.html">Finance Calculator</a><a href="/mortgage-payoff-calculator.html">Mortgage Payoff Calculator</a><a href="/refinance-calculator.html">Refinance Calculator</a><a href="/credit-card-calculator.html">Credit Card Calculator</a><a href="/budget-calculator.html">Budget Calculator</a><a href="/tax-calculator.html">Income Tax Calculator</a><a href="/financial-calculator.html">More &gt;&gt;</a></div></span><span class="dropdown"><span class="dropbtn">Fitness &amp; Health</span><div class="dropdown-content"><a href="/bmi-calculator.html">BMI Calculator</a><a href="/calorie-calculator.html">Calorie Calculator</a><a href="/body-fat-calculator.html">Body Fat Calculator</a><a href="/bmr-calculator.html">BMR Calculator</a><a href="/carbohydrate-calculator.html">Carbohydrate Calculator</a><a href="/ideal-weight-calculator.html">Ideal Weight Calculator</a><a href="/body-type-calculator.html">Body Type Calculator</a><a href="/army-body-fat-calculator.html">Army Body Fat Calculator</a><a href="/weight-watchers-points-calculator.html">Weight Watchers Points Calculator</a><a href="/pregnancy-weight-gain-calculator.html">Pregnancy Weight Gain Calculator</a><a href="/pregnancy-calculator.html">Pregnancy Calculator</a><a href="/conception-calculator.html">Conception Calculator</a><a href="/pregnancy-conception-calculator.html">Pregnancy Conception Calculator</a><a href="/fitness-and-health-calculator.html">More &gt;&gt;</a></div></span><span class="dropdown"><span class="dropbtn">Math</span><div class="dropdown-content"><a href="/scientific-calculator.html">Scientific Calculator</a><a href="/fraction-calculator.html">Fraction Calculator</a><a href="/percent-calculator.html">Percentage Calculator</a><a href="/time-calculator.html">Time Calculator</a><a href="/triangle-calculator.html">Triangle Calculator</a><a href="/volume-calculator.html">Volume Calculator</a><a href="/number-sequence-calculator.html">Number Sequence Calculator</a><a href="/math-calculator.html">More &gt;&gt;</a></div></span><span class="dropdown"><span class="dropbtn">Other</span><div class="dropdown-content"><a href="/love-calculator.html">Love Calculator</a><a href="/ip-subnet-calculator.html">IP Subnet Calculator</a><a href="/gas-mileage-calculator.html">Gas Mileage Calculator</a><a href="/conversion-calculator.html">Conversion Calculator</a><a href="/gpa-calculator.html">GPA Calculator</a><a href="/grade-calculator.html">Grade Calculator</a><a href="/time-card-calculator.html">Time Card Calculator</a><a href="/time-zone-calculator.html">Time Zone Calculator</a><a href="/height-calculator.html">Height Calculator</a><a href="/gdp-calculator.html">GDP Calculator</a><a href="/concrete-calculator.html">Concrete Calculator</a><a href="/marriage-calculator.html">Marriage Calculator</a><a href="/age-calculator.html">Age Calculator</a><a href="/bra-size-calculator.html">Bra Size Calculator</a><a href="/fuel-cost-calculator.html">Fuel Cost Calculator</a><a href="/btu-calculator.html">BTU Calculator</a><a href="/roofing-calculator.html">Roofing Calculator</a><a href="/other-calculator.html">More &gt;&gt;</a></div></span><span class="dropdown"><span class="dropbtn">For Your Site</span></span><script async="">

function linkSocialShare(){

lssoutput = '<img src="//d26tpo4cm8sb6k.cloudfront.net/img/svg/social-share.svg" usemap="#socialsharemap">';

lssoutput += '<div id="sociallikediv"></div>';

lssObj = document.getElementById("socialshare");

if (lssObj!== null) lssObj.innerHTML = lssoutput;

}

function showSocialLikes(){

var tempval = document.getElementById("sociallikediv").innerHTML + "";

if (tempval.length<10){

lssURL = "http%3A%2F%2Fwww.calculator.net%2Fbinary-calculator.html";

lssTitle = "Binary%2BCalculator";

sslikeoutput = '<map name="socialsharemap"><area shape="rect" coords="0,0,52,38" href="http://facebook.com/sharer/sharer.php?u='+lssURL+'&amp;title='+lssTitle+'">';

sslikeoutput += '<area shape="rect" coords="82,0,138,38" href="https://plus.google.com/share?url='+lssURL+'">';

sslikeoutput += '<area shape="rect" coords="164,0,226,38" href="https://twitter.com/intent/tweet?url='+lssURL+'&amp;text='+lssTitle+'">';

sslikeoutput += '<area shape="rect" coords="248,0,300,38" href="http://www.reddit.com/submit?url='+lssURL+'"></map>';

sslikeoutput += '<iframe src="/socialicons.php?url=http%3A%2F%2Fwww.calculator.net%2Fbinary-calculator.html" scrolling='no' frameborder='0' allowTransparency='true' align='top'></iframe>';

gObj("sociallikediv").innerHTML = sslikeoutput;

}

}

linkSocialShare();

</script>

</div></div></div></body>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote