As I told you how to generate calculator using html codes so this is again calculator with some changes so plz try it. I will tell you how to make it functional
<html>
<title>Calculator</title>
<head></head>
<body>
<table border="2">
<tr>
<td><input name="displayvalue" size="39" value="0"></td>
<tr>
<td>
<table border="2">
<tr>
<td>
<input type="button" value=" char ">
</td>
<td>
<input type="button" value=" delete ">
</td>
<td>
<input type="button" value=" = ">
</td>
</tr>
</table>
</td>
<tr>
<td>
<table border="2">
<tr>
<td>
<input type="button" value=" exp ">
</td>
<td>
<input type="button" value=" 7 ">
</td>
<td>
<input type="button" value=" 8 ">
</td>
<td>
<input type="button" value=" 9 ">
</td>
<td>
<input type="button" value=" / ">
</td>
</tr>
<tr>
<td>
<input type="button" value=" ln ">
</td>
<td>
<input type="button" value=" 4 ">
</td>
<td>
<input type="button" value=" 5 ">
</td>
<td>
<input type="button" value=" 6 ">
</td>
<td>
<input type="button" value=" * ">
</td>
</tr>
<tr>
<td>
<input type="button" value=" sqrt ">
</td>
<td>
<input type="button" value=" 1 ">
</td>
<td>
<input type="button" value=" 2 ">
</td>
<td>
<input type="button" value=" 3 ">
</td>
<td>
<input type="button" value=" - ">
</td>
</tr>
<tr>
<td>
<input type="button" value=" sq ">
</td>
<td>
<input type="button" value=" 0 ">
</td>
<td>
<input type="button" value=" . ">
</td>
<td>
<input type="button" value=" % ">
</td>
<td>
<input type="button" value=" + ">
</td>
</tr>
<tr>
<td>
<input type="button" value=" ( ">
</td>
<td>
<input type="button" value=" cos ">
</td>
<td>
<input type="button" value=" sin ">
</td>
<td>
<input type="button" value=" tan ">
</td>
<td>
<input type="button" value=" ) ">
</td>
</tr>
</table>
</td>
</tr>
</tr>
</tr>
</table>
</body>
</html>
out put is as:
Quratt ul ain Siddique
0 comments:
Post a Comment