We are providing online training of realtime Live project on Asp.Net MVC with Angular and Web API. For more information click here. If you have any query then drop the messase in CONTACT FORM

Thursday, February 1, 2018

<!DOCTYPE html>
<html>
<head>
<title></title>
            <meta charset="utf-8" />
</head>
<body ng-app="">
<div align="center">
<h1>Welcome to Samall Calculator</h1>
<table>
<tr>
<th>Enter Numbers</th><td><input type="number" ng-model="numberForAdd1" />&nbsp; + &nbsp;<input ng-model="numberForAdd2" type="number" /></td><td>= {{numberForAdd1 + numberForAdd2}}</td>
</tr>
<tr>
<th>Enter Numbers</th>
<td><input type="number" ng-model="numberForSub1" />&nbsp; - &nbsp;<input ng-model="numberForSub2" type="number" /></td>
<td>= {{numberForSub1 - numberForSub2}}</td>
</tr>
<tr>
<th>Enter Numbers</th>
<td><input type="number" ng-model="numberForMul1" />&nbsp; * &nbsp;<input ng-model="numberForMul2" type="number" /></td>
<td>= {{numberForMul1 * numberForMul2}}</td>
</tr>
<tr>
<th>Enter Numbers</th>
<td><input type="number" ng-model="numberForDiv1" />&nbsp; / &nbsp;<input ng-model="numberForDiv2" type="number" /></td>
<td>= {{numberForDiv1 / numberForDiv1}}</td>
</tr>
</table>
</div>

</body>
</html>

Output:


No comments: