% practice assignment #1

C = input('enter the temperature in Celsius: ');
F = ((9/5) * C) + 32;

% this is one way of printing stuff to the screen
disp([num2str(C), ' degrees Celsius is ', num2str(F), ' degrees Fahrenheit']);

% this is another way
fprintf('%.1f degrees Celsius is %.1f degrees Fahrenheit\n\n', C,F);

