From eb654b3b11820bdb21bd2d4201ee95f3395fc3b4 Mon Sep 17 00:00:00 2001 From: Shylesh S <37534898+shyleshsunnithan@users.noreply.github.com> Date: Tue, 1 Oct 2019 01:17:27 +0530 Subject: [PATCH 1/2] Update 4_SL.C --- 4_SL.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/4_SL.C b/4_SL.C index 7f56fd9..fa24f98 100644 --- a/4_SL.C +++ b/4_SL.C @@ -64,7 +64,7 @@ void main(){ new->data=x; ptr->link=new; break; - case 4: printf("\nEnter key: "); + case 4: printf("\nEnter key: "); //search scanf("%d",&key); ptr = header; while(ptr->data!= key && ptr->link!=NULL){ @@ -145,4 +145,4 @@ void main(){ } // ENDWHILE getch(); -} \ No newline at end of file +} From 2baee6c516d3bdaf23b65c6f037ac9d97a3daf3f Mon Sep 17 00:00:00 2001 From: Shylesh S <37534898+shyleshsunnithan@users.noreply.github.com> Date: Tue, 1 Oct 2019 01:25:50 +0530 Subject: [PATCH 2/2] Update LINEARSE.C --- LINEARSE.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LINEARSE.C b/LINEARSE.C index b19e2e4..4e81f24 100644 --- a/LINEARSE.C +++ b/LINEARSE.C @@ -18,7 +18,7 @@ void main(){ printf("\nEnter element to be searched: "); scanf("%d",&key); - for(i=0;i