% Script convertC2F
% Convert temperatures from Celcius scale to Fahrenheit

fprintf('Convert temperature from Celsius to Fahrenheit\n')
c = input('Enter the temperature (Celsius): ');

% convert to Fahrenheit
f = c*9/5 + 32;
fprintf('In Fahrenheit it is %.3f degrees.\n', f)
