Created
March 10, 2018 17:09
-
-
Save OwiseKyawMinOo/0b0c1cccdbe00835243c11f4df1baef3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> % Project 1 | |
>> % Owise Kyaw Min Oo | |
>> | |
>> Temperature=input('Enter temperature range : ');%for user input | |
Enter temperature range : 35.2 | |
>> disp(Temperature);%printing text or matrics | |
35.2000 | |
>> disp('Temperature'); | |
Temperature | |
>> fprintf('Temperature is %f degree C \n',Temperature); | |
Temperature is 35.200000 degree C | |
>> fprintf('Temperature is %8.1f degree C \n',Temperature); | |
Temperature is 35.2 degree C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment