MATLAB Question Write a while loop that will continuously as
(MATLAB Question) Write a while loop that will continuously ask the user to input a temperature value to convert from Celsius to Fahrenheit so long as it is greater than or equal to zero. Run your code to convert a few numbers and terminate it. What is the last negative Fahrenheit number when you enter this as your input: -99:9:99.
Solution
C=input(\'Enter temperature in degrees C:\');
F=9/5*C+32;
fprintf( \' The temparature in degrees F is %.2f\ \', F);
end
