Professional Documents
Culture Documents
Ayman Hammad - HW2 - Mat
Ayman Hammad - HW2 - Mat
1- Editor :-
clear; clc;
F = input('Enter the degrees Fahrenheit : ');
C = 5 / 9 * (F - 32);
fprintf('When the degrees Fahrenheit = %6.2f \n The degrees Centigrade = %6.2f
\n' ,F,C)
2- Command Window :-
Enter the degrees Fahrenheit : 60
When the degrees Fahrenheit = 60.00
The degrees Centigrade = 15.56
3- Workspace