From c9ccbd4da7e0acef67ea98daabada550a1640ba0 Mon Sep 17 00:00:00 2001
From: Brandon Rodriguez <brodriguez8774@gmail.com>
Date: Thu, 23 Jan 2020 01:38:42 -0500
Subject: [PATCH] Implement "PRoblem 3"

---
 main.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c
index 1420c89..20ee868 100644
--- a/main.c
+++ b/main.c
@@ -83,14 +83,21 @@ void problem_2() {
 /**
  * Problem 3
  *
- *
+ * Declare a double of "1/3".
+ * Declare a double of "1.0/3.0".
+ * Then print both to console.
  */
 void problem_3() {
     printf("\n\nProblem 3 start.\n\n");
     printf("Expected Output:\n");
-    printf("\n");
+    printf("0.3333333333\n");
     printf("Actual Output:\n");
 
+    double test_double = 1/3;
+    printf("%.10f\n", test_double);
+    test_double = 1.0/3.0;
+    printf("%.10f\n", test_double);
+
     printf("\nProblem 3 end.\n");
 }
 
-- 
GitLab