I cant find errors, please help

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.

 Respuesta aceptada

Star Strider
Star Strider el 10 de En. de 2017
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 comentarios

Didem
Didem el 10 de En. de 2017
thank you so much
Star Strider
Star Strider el 10 de En. de 2017
My pleasure.
If my Answer solved your problem, please Accept it!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de En. de 2017

Comentada:

el 10 de En. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by