필터 지우기
필터 지우기

I cant find errors, please help

조회 수: 1 (최근 30일)
Didem
Didem 2017년 1월 10일
댓글: Star Strider 2017년 1월 10일
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
Didem
Didem 2017년 1월 10일
thank you so much
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