We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

<html>

<head><title>ADDITION CALCULATOR</title>
<script language"javascript">
var num1;
var num2;
var sum;
function processVal1(){
num1 = document.calc.num.value;
num1 = parseInt(num1);
if(isNaN(num1)){
alert("Enter A correct number");
document.calc.num.value = null;
}
else{
document.getElementById("plus").disabled = true;
document.getElementById("equ").disabled = false;
document.getElementById("labl").innerHTML=""+num1+"+";
document.calc.num.value = null;
document.getElementById("num").focus();
}
}
function addVal(){
num2 = document.calc.num.value;
num2 = parseInt(num2);
if(isNaN(num2)){
alert("Enter A correct number");
}
else{
sum = num1 + num2;
document.calc.num.value = sum;
document.getElementById("equ").disabled = true;
document.getElementById("plus").disabled = false;
}
}
function clearVal(){
document.getElementById("equ").disabled = false;
document.getElementById("plus").disabled = false;
document.getElementById("labl").innerHTML="&nbsp;";
document.calc.num.value = 0;
}

</script>
</head>
<body>
<center><h2>ADDITION CALCULATOR</h2></center>
<form method="post" action="assignment.html" name="calc">
<table border="1" align="left" width="160px">
<tr>
<p id="labl">&nbsp;</p>
</tr>
<tr><td><input type="text" name="num" value="0" id="num"/></td>
</tr>
<tr>
<td>
<input type="button" name="add" value="+" onClick="processVal1();" id="plus" id="plus"/>
<input type="button" name="clr" value="C" onClick="clearVal();"/>
</td>
</tr>
<tr>
<td>
<input type="button" name="equ" value="=" onClick="addVal();" id="equ"/></td>
</tr>
</table>
</form>
</body>
</html>

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 1637

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

Thank you :) :)

RSS

Latest Activity

+ "αяsαℓ " Ќąƶµяɨ •" replied to + ! ! ! AA g❤️ ! ! ! +'s discussion ++!!!!!!!EARTH QUACKS!!!!!!!!!!++
21 seconds ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + ! ! ! AA g❤️ ! ! ! +'s discussion ++!!!!!!!EARTH QUACKS!!!!!!!!!!++
26 seconds ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "Jɨyą's discussion okey :x
46 seconds ago
+ "αяsαℓ " Ќąƶµяɨ •" liked + ! ! ! AA g❤️ ! ! ! +'s discussion ++!!!!!!!EARTH QUACKS!!!!!!!!!!++
1 minute ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to +¢αяєℓєѕѕ gιяℓ's discussion Jin sey Mohabbat Ho.....
2 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked +¢αяєℓєѕѕ gιяℓ's discussion Jin sey Mohabbat Ho.....
2 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + ! ! nO pAnGa's discussion Read this out Loud !!!!!!!!!
2 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked + ! ! nO pAnGa's discussion Read this out Loud !!!!!!!!!
3 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to 彡JK彡 ❤️'s discussion Dedicated To All Fake IDs............ :p:p
3 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked 彡JK彡 ❤️'s discussion Dedicated To All Fake IDs............ :p:p
3 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion غیر پھر غیر، درگزر کر دے - کون روکے زبان اپنوں کی
4 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked + M.Tariq Malik's discussion غیر پھر غیر، درگزر کر دے - کون روکے زبان اپنوں کی
4 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + Iuuoɔǝut+'s discussion عشق
4 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked + Iuuoɔǝut+'s discussion عشق
4 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion Follow the Main Forum & Study Groups New Added Discussions at Your Mail Address
4 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked + M.Tariq Malik's discussion Follow the Main Forum & Study Groups New Added Discussions at Your Mail Address
4 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion VIRTUAL UNIVERSITY OF PAKISTAN ORGANIZED AAOU 2019
5 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" liked + M.Tariq Malik's discussion VIRTUAL UNIVERSITY OF PAKISTAN ORGANIZED AAOU 2019
5 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion Fall 2019- 2nd Merit List of Candidates Eligible for Admission
5 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion ENG201 Handouts With Highlights Important Questions + MCQs
5 minutes ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service