.... How to Find Your Subject Study Group & Join ....   .... Find Your Subject Study Group & Join ....

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

www.vustudents.ning.com

Study Groups By Subject code Wise (Click Below on your university link & Join Your Subject Group)

[ + VU Study Groups Subject Code Wise ]  [ + COMSATS Virtual Campus Study Groups Subject Code Wise ]

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

# Assignment No. 02 Semester: Fall 2017 Introduction to Computing - CS101 Total Marks: 20 Due Date: 12-01-2018

Question Statement:

Note:  Students are required to submit HTML code file only with .html extension.Don’t upload word format file(.doc) etc.

### You are required to write HTML with Java Script code to create Weight Converter Calculator web page which can be used to convert values entered in Kilo Gram to Gram, Pounds, Milligrams, US tons and Ounces respectively.

Solution guidelines of this  web page are given as follow,

• You are required to create a text for taking input from the users in Kilo Grams. This text box can be labelled as Weight in KG.
• The users will be required to enter their input in Weight in Kg.
• Create one button labeled as Convert. On Mouse Click event the function “Converter” should be called to covert KG value to other units.
• If no value or less than 0 is entered in KG text box and Covert button is clicked then alert should be shown through window.alert() as:

• If the values is greater than 0 then your webpage will show converted values in Grams, Pounds, Milligrams, US tons and Ounces in the given text boxes as shown in sample output.
• Create another button labeled as Reset Form to clear text box values.
• You are required to use table so that items of the webpage will be shown in the arranged form.

Formula for KG to Grams conversion is:

Kilo Grams= KG*1000

Formula for KG to Pounds conversion is:

Pounds = KG* 2.2046

Formula for KG to Milligrams conversion is:

Milligrams = KG* 1000000

Formula for KG to Pounds conversion is:

US Ton = KG* 0.0011023

Formula for KG to Pounds conversion is:

Ounce = KG* 35.274

Sample Output (Snapshot): Color Scheme may be of your choice.

Views: 8017

Attachments:

### Replies to This Discussion

Solution send kr do koi

itni mushkil assignment... toba hy

han kr do snd koe ....please!

Itni bhi dificult ni hia jitni bana di u ne

hahahhahaha sahi bola

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.

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

&

.... How to Find Your Subject Study Group & Join ....

Assignment No. 02
Semester: Fall 2017
Introduction to Computing - CS101

100% Correct Solution Just Take An Idea Make Your Own

Attachments:

## Forum Categorizes

Job's & Careers (Latest Jobs)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

::::::::::: More Categorizes :::::::::::

## Latest Activity

1 hour ago
+þµñjåßï jµTT❤ updated their profile
1 hour ago
kashif posted a discussion

### FRT (FINAL REPORT Template)

2 hours ago
Haris Sid and wajihaakram are now friends
2 hours ago
wajihaakram and ZY are now friends
2 hours ago
2 hours ago
3 hours ago
3 hours ago

Lahore, Pakistan