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


+ Link For Assignments, GDBs & Online Quizzes Solution


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

Required SOLUTION OF CS101 Assignment

+ Click Here To Join also Our facebook study Group.

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

See Your Saved Posts Timeline

Views: 1039


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


Replies to This Discussion


CS101 Assignment No 02 Graded Semester Fall 2018
Send file

sb log please dua me yaad rkhna laazmi. please request he. code is under mentioned.

<!DOCTYPE html>


background-color: #007FFF;
text-align: center;
background-color: #32a96c;
text-align: center;


<h1>Employee Salary Calculator</h1>
<h3>Welcome to Online Salary Calculator</h3>

<td><label>Employee ID:</label></td>
<td><input type="text" value="BC88888888"></td>

<td><label>Employee Name:</label></td>
<td><input type="text" value="your name"></td>

<td><label>Father Name:</label></td>
<td><input type="text" value="father name"></td>


<td><input type="radio" checked></td>

<td><input type="radio"></td>

<td><input type="text" value="13504-234290834-3"></td>

<td><label>Basic Salary*:</label></td>
<td><input type="text" id="basic"></td>

<td><input type="text" id="utilities"></td>

<td><label>House Rent*:</label></td>
<td><input type="text" id="house_rent"></td>

<td><label>Tax Percentage*:</label></td>
<td><input type="text" id="tax_percentage"></td>

<td><label>Total Salary*:</label></td>
<td><input type="text" id="total_salary"></td>

<td><label>Tax Year:</label></td>

<td><input type="submit" onclick="SalCal();" value="Calculate"</td>
<td><input type="reset" onclick="reset()" value="Clear"></td>

// reset button with pure javascript
function reset(){

function SalCal(){
var basic_salary = document.getElementById('basic').value;
if(basic_salary == ''){
alert('Basic salary is missing');


var utilities_input = basic_salary * 10 / 100;
utilities.value = utilities_input;

var house_rents = basic_salary * 8 / 100;
house_rent.value = house_rents;

var tax_percentages = basic_salary * 2/ 100;
tax_percentage.value = tax_percentages;

var total_salaries = (utilities_input + house_rents) + (basic_salary - tax_percentages);
total_salary.value = total_salaries;




is me apni VUID, name, father name, cnic khud edit kr lijye ga.

or isko normal notepad me copy kr k. file ki type .html krni he.


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

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