From aa837fc98bc7455c967736059a117f25541f8db3 Mon Sep 17 00:00:00 2001 From: Sreejith-Murali Date: Wed, 2 Oct 2019 15:51:39 +0530 Subject: [PATCH] added some comments --- BUBBLESO.C | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BUBBLESO.C b/BUBBLESO.C index ce903a6..1fedafb 100644 --- a/BUBBLESO.C +++ b/BUBBLESO.C @@ -6,13 +6,13 @@ void main(){ int a[10],i,j,temp,n; clrscr(); - printf("\n\nEnter limit: "); + printf("\n\nEnter limit: "); /*enter the no of elements in the array */ scanf("%d",&n); - printf("\nEnter array:\n"); + printf("\nEnter array:\n"); /*enter the elements */ for(i=0;ia[j+1]){ temp=a[j]; a[j]=a[j+1]; - a[j+1]=temp; + a[j+1]=temp; /*sorting the array */ } } } - printf("\nSorted Array:"); + printf("\nSorted Array:"); /*printing the sorted array */ for(i=0;i