diff --git a/CPP/CPP.vcxproj b/CPP/CPP.vcxproj
index 0d92fca..7e2be0a 100644
--- a/CPP/CPP.vcxproj
+++ b/CPP/CPP.vcxproj
@@ -19,7 +19,7 @@
-
+
17.0
diff --git a/CPP/CPP.vcxproj.filters b/CPP/CPP.vcxproj.filters
index 22c475c..724a524 100644
--- a/CPP/CPP.vcxproj.filters
+++ b/CPP/CPP.vcxproj.filters
@@ -15,7 +15,7 @@
-
+
Fichiers sources
diff --git a/CPP/Source3.cpp b/CPP/Source3.cpp
new file mode 100644
index 0000000..dc8fd03
--- /dev/null
+++ b/CPP/Source3.cpp
@@ -0,0 +1,28 @@
+/*
+ * Programme d'affichage du plus grand nombre parmis 3 propositions
+ * Par Florian Goussot
+ * BTS CIEL 2e année
+ * Fait le 24/09/2024 à Nancy
+*/
+#include
+#include
+#include
+
+int main(void) {
+ do {
+ int mois;
+ system("cls");
+ printf_s("\t\t\tProgramme donnant le nombre de jours par mois");
+ printf_s("\nEntrez le numéro du mois : ");
+ scanf_s("%i", &mois);
+ if (mois == 1 || mois == 3 || mois == 5 || mois == 7 || mois == 8 || mois == 10 || mois == 12) {
+ printf_s("\nCe mois comporte 31 jours");
+ }else if (mois == 2) {
+ printf_s("\nCe mois comporte 28 ou 29 jours");
+ }
+ else {
+ printf_s("\nCe mois comporte 30 jours");
+ }
+ } while (_getch() != 27);
+ return 0;
+}
\ No newline at end of file
diff --git a/CPP/Source4.cpp b/CPP/Source4.cpp
new file mode 100644
index 0000000..2cf0c88
--- /dev/null
+++ b/CPP/Source4.cpp
@@ -0,0 +1,41 @@
+/*
+ * Programme d'affichage du plus grand nombre parmis 3 propositions
+ * Par Florian Goussot
+ * BTS CIEL 2e année
+ * Fait le 24/09/2024 à Nancy
+*/
+#include
+#include
+#include
+
+int main(void) {
+ do {
+ int mois;
+ system("cls");
+ printf_s("\t\t\tProgramme donnant le nombre de jours par mois");
+ printf_s("\nEntrez le numéro du mois : ");
+ scanf_s("%i", &mois);
+ if (mois < 1 || mois > 12) {
+ printf_s("\nVeuillez entrer un numéro de mois valide !");
+ continue;
+ }
+ switch (mois){
+ case 1:
+ case 3:
+ case 5:
+ case 7:
+ case 8:
+ case 10:
+ case 12:
+ printf_s("\nCe mois comporte 31 jours");
+ break;
+ case 2:
+ printf_s("\nCe mois comporte 28 ou 29 jours");
+ break;
+ default:
+ printf_s("\nCe mois comporte 30 jours");
+ break;
+ }
+ } while (_getch() != 27);
+ return 0;
+}
\ No newline at end of file
diff --git a/CPP/Source5.cpp b/CPP/Source5.cpp
new file mode 100644
index 0000000..044cb8d
--- /dev/null
+++ b/CPP/Source5.cpp
@@ -0,0 +1,24 @@
+/*
+ * Programme d'affichage De la table ASCII
+ * Par Florian Goussot
+ * BTS CIEL 2e année
+ * Fait le 08/10/2024 à Nancy
+*/
+#include
+#include
+#include
+
+int main(void) {
+ do {
+ system("cls");
+ printf_s("\t\t\tAffichage de la table ASCII\n");
+ for (int i = 15; i < 255; i++) {
+ if (i % 6 == 0) {
+ printf_s("\n");
+ }
+ printf_s("\t%c : %c%i\t", char(i), i < 100 ? char(32) : char(0), i);
+ }
+ printf_s("\n\nAppuyez sur Echap pour quitter...");
+ } while (_getch() != 27);
+ return 0;
+}
\ No newline at end of file