1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| <div> <span id="result"></span> </div> <table border="1px" width="200px" height="300px"> <tbody align="center"> <tr> <td width="50px" onclick="leftBracket()">(</td> <td width="50px" onclick="rightBracket()">)</td> <td width="50px" onclick="ppow()">^</td> <td width="50px" onclick="psqrt()">√</td> </tr> <tr> <td onclick="c()">C</td> <td onclick="po('%')">%</td> <td width="50px" onclick="backspace()"><img src="img/back.png" width="25px"/></td> <td onclick="po('÷')">÷</td> </tr> <tr> <td onclick="pn(7)">7</td> <td onclick="pn(8)">8</td> <td onclick="pn(9)">9</td> <td onclick="po('×')">×</td> </tr> <tr> <td onclick="pn(4)">4</td> <td onclick="pn(5)">5</td> <td onclick="pn(6)">6</td> <td onclick="po('-')">-</td> </tr> <tr> <td onclick="pn(1)">1</td> <td onclick="pn(2)">2</td> <td onclick="pn(3)">3</td> <td onclick="po('+')">+</td> </tr> <tr> <td onclick="pn('00')">00</td> <td onclick="pn(0)">0</td> <td onclick="pn('.')">.</td> <td onclick="equals1()">=</td> </tr> </tbody> </table>
|