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.

采纳的回答

Star Strider
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 个评论
Star Strider
Star Strider 2017-1-10
My pleasure.
If my Answer solved your problem, please Accept it!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by