- 7
What is the source code ?
Source code is the collection of instructions that tell the computer what to do and how to do it. example- Let's say you want to write a program that converts temperature from Fahrenheit scale to Celsius scale. Here, is the source code for that. function convertTemp (var fTemp) { Â Â var cTemp = (fTemp - 32) * (5/9); Â Â return cTemp; } var input = prompt ("Input temperature in Fahrenheit"); document.write("Celsius Scale = " . converTemp (input) );
1 Answer
+ 2
Is it a question within answer :-\ ?