Cody

Solution 1079347

Submitted on 12 Dec 2016 by Liam Hartenstein
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
celsiusValue = 1; fahrValue = 33.8; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

a = 9 b = 1.8000 c = 33.8000

2   Pass
celsiusValue = 0; fahrValue = 32.0; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

a = 0 b = 0 c = 32

3   Pass
celsiusValue = 100; fahrValue = 212; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

a = 900 b = 180 c = 212

4   Pass
celsiusValue = -100; fahrValue = -148; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

a = -900 b = -180 c = -148

5   Pass
celsiusValue = -10; fahrValue = 14; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

a = -90 b = -18 c = 14