Implement Bubble Sort using C.
#include<stdio.h> #include<conio.h> void main() { int a[100],i,n,j,temp; clrscr(); printf("\n\n\n\t\t ********** BUBBLE SORT **********\n\n\n"); printf("Enter the no of digit to be sorted ...... "); scanf("%d",&n); printf("\nEnter the number...>> "); for(i=0;i<=n-1;i++) { scanf("%d",&a[i]); } printf("\nThe Sorted no is as follows.....>>>>\n\n\t\t\t"); for(i=0;i<=n-1;i++) { for(j=0;j<=n-1;j++) { if(a[j]>a[j+1]) { temp = a[j]; a[j] = a[j+1]; a[j+1] = temp; } } } for(i=0;i<=n-1;i++) { printf("%d ",a[i]); } getch(); }
Write a C program to print the following output.
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Write a C program to find factorial(using recursion) of any no.
Convert the Regular Expression into e-NFA and then corresponding DFA.
Why Required of ISO 9001:2000 standard?
Describe Cost of Software Quality
Write a C procram to G.C.D. of two no. using recursion.
What is WAP? Why it is used?