% Takes as input a temperature in degrees Fahrenheit
% and returns the equivalent temperature in Celsius. 

f = input('Give me Fahrenheit: '); 

c = (5/9)*(f-32); 

%Report to 2 decimal places. 
%fprintf('The temperature in Celsius is %.2f degrees\n', c); %better, but we didn't talk about it in the lecture
disp(c)