Commit 5dafdbf8 authored by Manasani suraj's avatar Manasani suraj

my calc

parent f5d53743
<script rel="javascript" type="text/javascript" src="calculator.js"></script>
<div class="container">
<input type="number" id="x"><br>
<input type="number" id="y"><br>
<button type="button" onclick="add()">ADDITION</button>
<button type="button" onclick="document.write(x - y)">SUBRACT</button>
<button type="button" onclick="document.write(x / y)">DIVISION</button>
<button type="button" onclick="document.write(x * y)">MULTIPLY</button>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment