![]() |
初学matlab 编写气温判别
[FONT="楷体"][SIZE="5"][/SIZE][/FONT]
%本程序用于判断天气情况; b = input{'请输入温度'}; if b>30 disp('hot'); end if (10<b)&&(b<30) disp('warm'); end if b<10 disp('cold'); end 在是运行时一直出错 |
所有时间均为北京时间。现在的时间是 05:27。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.