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>
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad