Hamming Code

Feb. 2, 2013, 7:45 p.m.

Source

<html>
<head>
<title>Snippet for "Hamming code"</title>
<style>
body { padding: 5px; background-color: lightgoldenrodyellow }
</style>
<script type="text/javascript">
function copy() {
    var input = document.getElementById('input');
    var output = document.getElementById('output');
    output.value = input.value;
}
</script>
</head>
<body>
    <h4>Snippet for "Hamming code"</h4>
    <input type='text' id='input'></input>
    <input type='button' onclick='copy()' value='copy'></input><br>

    <input type='text' id='output'></input>
</body>
</html>

Demo


comments powered by Disqus