Skip to content

Instantly share code, notes, and snippets.

@Prosen-Ghosh
Created August 29, 2017 13:19
Show Gist options
  • Save Prosen-Ghosh/540f38e0ec35e5ca408e652fba58e16c to your computer and use it in GitHub Desktop.
Save Prosen-Ghosh/540f38e0ec35e5ca408e652fba58e16c to your computer and use it in GitHub Desktop.
Convert Celsius to Fahrenheit Problem Solution Using JavaScript.
function convertToF(celsius) {
var fahrenheit = (celsius * 9/5)+32;
return fahrenheit;
}
convertToF(30);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment