Convert Celsius to Fahrenheit

The formula to convert from Celsius to Fahrenheit is the temperature in Celsius times 9/5, plus 32.

You are given a variable celsius representing a temperature in Celsius. Use the variable fahrenheit already defined and assign it the Fahrenheit temperature equivalent to the given Celsius temperature. Use the formula mentioned above to help convert the Celsius temperature to Fahrenheit.

Tests

  • Waiting: 1. convertCtoF(0) should return a number
  • Waiting: 2. convertCtoF(-30) should return a value of -22
  • Waiting: 3. convertCtoF(-10) should return a value of 14
  • Waiting: 4. convertCtoF(0) should return a value of 32
  • Waiting: 5. convertCtoF(20) should return a value of 68
  • Waiting: 6. convertCtoF(30) should return a value of 86
/**
* Your test output will go here
*/