Programming Examples

Angular JS program to convert Temperature Fahrenheit to Degree Celsius


Angular JS Practical

Write a Angular JS Program to Convert the Temperature Fahrenheit to Degree Celsius

Solution

<!doctype html>
<html>
	<head>
		<script language="javascript" src="angular.min.js"></script>
	</head>
	<body>
		<h1>Temperature Fahrenheit to Degree <br/>Celsius Converter using Angular JS</h1>
		<div ng-app="" ng-init="f=32">
		Temperature in Fahrenheit: <input type="text" ng-model="f"><br/><br/>
		Temperature in Degree Celsius: {{(f-32)*(5/9)}}
		</div>
	</body>
</html>
Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad