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.vustudents.ning.com

 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

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)

Views: 612

### Replies to This Discussion

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>
<title>BC17xxxxxx</title>
<script>
function calculate()
{
var field1=parseFloat(document.getElementById('num1').value);
var field2=parseFloat(document.getElementById('num2').value);

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

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

{
}
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>

<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="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

IT430 ASSIGNMENT 3 SOLUTION SPRING 2019

Attachments:

## Latest Activity

Fatima, 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

### GDB No. 1 STA630 - Research Methods

44 minutes ago
Imtiaz Waqar joined +M.Tariq Malik's group

45 minutes ago

### MTH202 Discrete Mathematics

59 minutes ago
1 hour ago
1 hour ago
Maria joined +M.Tariq Malik's group

### EDU101 Foundations of Education

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
4 hours ago
Virtual Educators Academy posted a discussion

### CS619 Final Projects (Python language) Discussions

4 hours ago
Virtual Educators Academy updated their profile
4 hours ago
☆ Tina Solangi ☆ updated their profile
5 hours ago
5 hours ago
5 hours ago