- 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) );

5th Sep 2017, 4:46 AM
Yatin Chaudhari
Yatin Chaudhari - avatar
1 Answer
+ 2
Is it a question within answer :-\ ?
5th Sep 2017, 9:41 AM
Ekansh