mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-11-20 17:52:24 +01:00
feat: moved files into single folder
This commit is contained in:
parent
f442c3b12e
commit
3ddeb4fdae
@ -2,7 +2,6 @@
|
|||||||
% returns the number of days in Month and the number of days it takes to reach that date in year 2023
|
% returns the number of days in Month and the number of days it takes to reach that date in year 2023
|
||||||
% prolog works by defining facts and rules and when queried about them returns values
|
% prolog works by defining facts and rules and when queried about them returns values
|
||||||
% it works different from functional programming in this aspect since it
|
% it works different from functional programming in this aspect since it
|
||||||
% doesn't just follow instruction it returns output based on world state
|
|
||||||
month_days('01', 31, 0).
|
month_days('01', 31, 0).
|
||||||
month_days('02', 28, 31).
|
month_days('02', 28, 31).
|
||||||
month_days('03', 31, 59).
|
month_days('03', 31, 59).
|
||||||
Loading…
Reference in New Issue
Block a user