From d3f055c26977e9220219ca33b3821942694923f0 Mon Sep 17 00:00:00 2001
From: shyamal2411 <62337918+shyamal2411@users.noreply.github.com>
Date: Thu, 1 Oct 2020 13:35:55 +0530
Subject: [PATCH 1/2] Updated with few syntax changes & basic condition
 changes.

---
 chapter01/1-13a.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/chapter01/1-13a.c b/chapter01/1-13a.c
index b518cf3..7da2d7a 100644
--- a/chapter01/1-13a.c
+++ b/chapter01/1-13a.c
@@ -27,17 +27,17 @@ int main(void)
 	count = 0;
 	while ((c = getchar()) != EOF) {
 
-		if (c == ' ' || c == '\t' || c == '\n')
+		if(c == ' ' || c == '\t' || c == '\n')
 			state = OUT;
-		else
-			state = IN;
+		
+		else state = IN;
 
-		if (state == IN)
+		if(state == IN)
 			++count;
 
-		if (state == OUT) {
+		if(state == OUT) {
 			if (count < 4)
-				++lengths[0];
+	        		++lengths[0];
 			else if (count >= 4 && count < 8)
 				++lengths[1];
 			else if (count >= 8 && count < 12)
@@ -52,22 +52,22 @@ int main(void)
 
 	printf("\nVertical Histogram:\n");
 	longestBar = lengths[0];
-	for (i = 0; i < SIZE; ++i)       /* find the longestBar */
-		if (lengths[i] > longestBar )
+	for(i = 0; i < SIZE; ++i)  /* find the longestBar */
+		if(lengths[i] > longestBar )
 			longestBar = lengths[i];
-	longestBar /= SCALE;
+	longestBar/= SCALE;
 
 	/* print vertical histogram  */
 	while (longestBar > 0) {
 		for (i = 0; i < SIZE; ++i)
 			if (lengths[i] != 0) {
 				if (lengths[i] / SCALE < longestBar)
-					printf(" %2c", ' ');
+					printf(" %2c",' ');
 				else
 					printf(" %2c", '*');
 			}
 		printf("\n");
-		--longestBar;
+		  longestBar--;
 	}
 	
 	/* print value of each element (bar) */

From 73b4ace534e23d1c9605ff6cc4c5c15be17d3701 Mon Sep 17 00:00:00 2001
From: Shyamal Prajapati <sgprajapati24@gmail.com>
Date: Sat, 5 Dec 2020 16:45:01 +0530
Subject: [PATCH 2/2] added conio header file

---
 chapter03/3-4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chapter03/3-4.c b/chapter03/3-4.c
index 53a9f2c..f546de3 100644
--- a/chapter03/3-4.c
+++ b/chapter03/3-4.c
@@ -27,7 +27,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <limits.h>
-
+#include<conio.h>
 #define MAXLEN 1000
 
 void itoa(unsigned, char []);