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.


+ Link For Assignments, GDBs & Online Quizzes Solution


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

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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: 608

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.



Site Overview | Assignment Solutions | Past Papers |Site Features

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

Full Details and Explanation.

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');

<h1>Arithmetic Calculator</h1>
<input type="text" id="num1" placeholder="Enter First Number">
<input type="text" id="num2" placeholder="Enter Second Number">
<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>
<p id="ans"></p>



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




Latest Activity

Looking For Something? Search Here

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

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