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 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz