VB icon

tempreature converter

Email
Submitted on: 1/6/2015 9:01:00 AM
By: sherif rofael (from psc cd)  
Level: Beginner
User Rating: By 3 Users
Compatibility: VbScript (browser/client side)
Views: 1198
 
     converts from fahrenhite to celcius and vice versa, ....
 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
				
'**************************************
' Name: tempreature converter
' Description:converts from fahrenhite to celcius and vice versa, ....
' By: sherif rofael (from psc cd)
'**************************************

<html dir="rtl">
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<title>New Page 1</title>
<script id=clientEventHandlersVBS language=vbscript>
<!--
Sub B3_onclick
dim input
input= inputbox ("put the degrees in celcius")
input=(input*9/5) +32
msgbox input & "fahrenhites",,"sherif rofael"
end sub
Sub B1_onclick
dim input
input= inputbox ("put the degrees in fahrenhites")
input=(input-32)*5/9 
msgbox input & "celcius",,"sherif rofael"
End Sub
-->
</script>
</head>
<body>
<p dir="ltr">
<input type="button" value="celcius to fahrenhites" name="B3" style="color: #008000; font-family: Arial Black; font-size: 1em; font-weight: bold; text-decoration: none blink; text-transform: uppercase; letter-spacing: 1pt; vertical-align: baseline; border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"></p>
<p dir="ltr"> </p>
<p dir="ltr">
<input type="button" value=" fahrenhites to celcius" name="B1" style="color: #008000; font-family: Arial Black; font-size: 1em; font-weight: bold; text-decoration: none blink; text-transform: uppercase; letter-spacing: 1pt; vertical-align: baseline; border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"></p>
<p> </p>
<p> </p>
</body>
</html>


Other 1 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.