I cant find errors, please help
1 回表示 (過去 30 日間)
古いコメントを表示
This programming is about '' How many days you live?'' 'aytot' means sum of the months, 'gunler' means days, 'gunbul' means find days ,'aygunu' means which months have how many days, 'ay' means month, 'tarih' means date.
0 件のコメント
採用された回答
Star Strider
2017 年 1 月 10 日
First — in ‘ tarih.m’ you put ‘aytot’ without first defining it:
...
y2=input('year 2:');
aytot;
gunler=0;
...
so your code is going to throw this error:
Undefined function or variable 'aytot'.
Second — look up the eomday function and the other Date and Time Operations functions. It will make your problem much easier to solve.
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!