World AIDS Day is observed across the world on 1 December annually. The theme for 2016 World Aids Day is ‘Hands Up for HIV Prevention’. The day is observed to raise awareness to the Aids pandemic caused by the spread of the HIV infection. The day is celebrated by the government organizations, NGOs, civil society and other health officials by organizing the speeches or forums discussion related to the AIDS
BUBBLESORT #include<stdio.h> void bubble(int a[],int n); int i,j,temp,a[25],n; void main() { clrscr(); printf("\n\nEnter how many numbers you want to sort\n\n"); scanf("%d",&n); printf("\nEnter the numbers \n"); for (i=0;i<n;i++) { scanf("%d",&a[i]); } bubble(a,n); printf("\n\nFinal sorted list is "); for (i=0;i<n;i++) printf("%d ",a[i]); getch(); } void bubble(int a[],int n) { int k; for(i=0;i<n-1;i++) { printf("\n\n PASS->%d ",i+1); for(j=i+1;j<=n-1;j++) { if(a[i]>a[j]) { temp=a[i]; a[i]=a[j];
Comments
Post a Comment
IF YOU LIKE THE POST,PLEASE LIKE FACEBOOK PAGE BELOW.
KINDLY POST YOUR COMMENT BELOW.