We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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


IT430 Assignment No 03 Spring 2019 Solution & Discussion


+ 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)


Views: 612

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

 

“How to Join Subject Study Groups & Get Helping Material”

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

 

Share below link with friends for solution & Discussion. A Single link for help in your education.

http://bit.ly/vucodes

 

Site Overview | Assignment Solutions | Past Papers |Site Features

SOLUTION Assignment No. 3 (IT430 - E-Commerce) Spring 2019

Full Details and Explanation.

<html>
<head>
<title>BC17xxxxxx</title>
<script>
function calculate()
{
var field1=parseFloat(document.getElementById('num1').value);
var field2=parseFloat(document.getElementById('num2').value);

var addition=(field1+field2);
var subtraction=(field1-field2);
var multiplication=(field1*field2);
var division=(field1/field2);
var modulus=(field1%field2);

var y = "Answer: ";

var x = document.getElementById('selectOp').value;

if(x === 'add')
{
document.getElementById("ans").innerHTML = y+addition;
}
else if(x === 'sub')
{
document.getElementById("ans").innerHTML = y+subtraction;
}
if(x === 'mul')
{
document.getElementById("ans").innerHTML = y+multiplication;
}
else if(x === 'div')
{
document.getElementById("ans").innerHTML = y+division;
}
else if(x === 'mod')
{
document.getElementById("ans").innerHTML = y+modulus;
}
else if(x === 'operator')
{
alert('You have to select any arithmetic operator');
}
}
</script>
</head>

<body>
<h1>Arithmetic Calculator</h1>
<input type="text" id="num1" placeholder="Enter First Number">
<input type="text" id="num2" placeholder="Enter Second Number">
<br>
<p>Arithmetic Operators
<select id="selectOp" onchange="calculate()">
<option value="operator">Select Any Operator</option>
<option value="add">+</option>
<option value="sub">-</option>
<option value="mul">*</option>
<option value="div">/</option>
<option value="mod">%</option>
</select>
</p>
<p id="ans"></p>
</body>
</html>

IT430_Assignment_03_Solution_Spring_2019

Attachments:

Solution of IT430 Assignment No. 3 Spring 2019 Step by Step Guide Developed Arithematic Calculator

IT430 ASSIGNMENT 3 SOLUTION SPRING 2019

Attachments:

RSS

Latest Activity

Profile IconFatima, Sheza mariam, Iftikhar Ali and 16 more joined Virtual University of Pakistan
28 minutes ago
Imtiaz Waqar added a discussion to the group STA630 Research Methods
44 minutes ago
Imtiaz Waqar joined +M.Tariq Malik's group
45 minutes ago
Muhammad Fawad Hassan joined +M.Tariq Malik's group
59 minutes ago
Maria commented on +M.Tariq Malik's group EDU101 Foundations of Education
1 hour ago
+ Faisal + replied to shifa arshad's discussion CS605 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 10-dec-2020 in the group CS605 Software Engineering-II
1 hour ago
Maria joined +M.Tariq Malik's group
1 hour ago
Maria and SafeerZaidi are now friends
1 hour ago
SafeerZaidi liked Maria's profile
1 hour ago
Tasha Malik posted a status
"Bio 201 Assignment # 2 Solution https://youtu.be/Gowjc67WZ4c"
2 hours ago
Maria liked +M.Tariq Malik's profile
3 hours ago
Maria left a comment for +M.Tariq Malik
3 hours ago
Blessings posted a status
"Kya khbr k ab wo khan rehta hai...........................Khush rhe yar jhan rehta hai"
3 hours ago
SafeerZaidi liked +M.Tariq Malik's group PAK301 Pakistan Studies
4 hours ago
Virtual Educators Academy posted a discussion
4 hours ago
Virtual Educators Academy updated their profile
4 hours ago
☆ Tina Solangi ☆ updated their profile
5 hours ago
Humaira Khadim replied to +M.Tariq Malik's discussion PSY404 Abnormal Psychology Assignment 01 Fall 2020 Solution / Discussion in the group PSY404 Abnormal Psychology
5 hours ago
Humaira Khadim replied to +M.Tariq Malik's discussion PSY402 Experimental Psychology Assignment 01 Fall 2020 Solution / Discussion Due Date: 07-12-2020 in the group PSY402 Experimental Psychology
5 hours ago
Ali Fahad posted a discussion
5 hours ago

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

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

.