From 3ddeb4fdae82a6957eaf5243604438ccf56d18c7 Mon Sep 17 00:00:00 2001 From: Krzysztof Rudnicki Date: Fri, 16 Jun 2023 15:58:31 +0200 Subject: [PATCH] feat: moved files into single folder --- {code => lab7/code}/main.pl | 3 +-- {labMaterials => lab7/labMaterials}/EARIN Lab 7.pdf | Bin .../report}/EARIN_LAB_7_KLISZKO_RUDNICKI.pdf | Bin .../report}/EARIN_LAB_7_KLISZKO_RUDNICKI.tex | 0 4 files changed, 1 insertion(+), 2 deletions(-) rename {code => lab7/code}/main.pl (92%) rename {labMaterials => lab7/labMaterials}/EARIN Lab 7.pdf (100%) rename {report => lab7/report}/EARIN_LAB_7_KLISZKO_RUDNICKI.pdf (100%) rename {report => lab7/report}/EARIN_LAB_7_KLISZKO_RUDNICKI.tex (100%) diff --git a/code/main.pl b/lab7/code/main.pl similarity index 92% rename from code/main.pl rename to lab7/code/main.pl index 0d8eb894..891f55d3 100644 --- a/code/main.pl +++ b/lab7/code/main.pl @@ -1,8 +1,7 @@ % month_days(Month, DaysInMonth, DaysBeforeMonth) % 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 -% it works different from functional programming in this aspect since it -% doesn't just follow instruction it returns output based on world state +% it works different from functional programming in this aspect since it month_days('01', 31, 0). month_days('02', 28, 31). month_days('03', 31, 59). diff --git a/labMaterials/EARIN Lab 7.pdf b/lab7/labMaterials/EARIN Lab 7.pdf similarity index 100% rename from labMaterials/EARIN Lab 7.pdf rename to lab7/labMaterials/EARIN Lab 7.pdf diff --git a/report/EARIN_LAB_7_KLISZKO_RUDNICKI.pdf b/lab7/report/EARIN_LAB_7_KLISZKO_RUDNICKI.pdf similarity index 100% rename from report/EARIN_LAB_7_KLISZKO_RUDNICKI.pdf rename to lab7/report/EARIN_LAB_7_KLISZKO_RUDNICKI.pdf diff --git a/report/EARIN_LAB_7_KLISZKO_RUDNICKI.tex b/lab7/report/EARIN_LAB_7_KLISZKO_RUDNICKI.tex similarity index 100% rename from report/EARIN_LAB_7_KLISZKO_RUDNICKI.tex rename to lab7/report/EARIN_LAB_7_KLISZKO_RUDNICKI.tex