- Interests
- Programming, Playing Video games,Reading Books
9 Posted Topics
Hi...! In Design of Algorithm. I think it is used to calculate the time complexity.... What is meant by STEP-COUNT METHOD? What is the procedure in that to calculate? I want brief explination. .... | |
Here is the code for [B][COLOR="Red"]Insertion Sort, Bubble Sort and Selection Sort[/COLOR][/B] [B]Insertion Sort[/B] [CODE] #include <stdio.h> main() { int i,j,key; int a[5]={5,2,3,4,1}; for(i=1;i<5;i++) { key=a[i]; while(i>0 && a[i-1]>key) { j=a[i]; a[i]=a[i-1]; a[i-1]=j; --i; } } int k; for(k=0;k<5;k++) {printf("%d ", a[k]);} printf("\n"); } [/CODE] [B]Bubble Sort[/B] [CODE] #include <stdio.h> … | |
Re: There is Errors in Ubuntu 11.04. One is that some times if we click on shut down it might LOG OUT instead of SHUT DOWN. In UBUNTU 11.04 we can't install GDM themes.. So check it out... before u install it. | |
[B]RAPTOR SOFTWARE FOR XUBUNTU[/B] I'm feeling very difficulty to find RAPTOR software for XUBUNTU. Is there is any software like RAPTOR to draw flow charts. If you found plzz rply me.... Thank you. ![]() | |
Here is the codes for Binary Search and Linear Search. [B]Binary Search[/B] [CODE] #include<stdio.h> int main(){ int a[10],i,n,m,c=0,l,u,mid,j,x; //variable assigning printf("Enter the size of an array->"); //Entering the size of the array scanf("%d",&n); printf("\nEnter the elements of the array->");//Entering the array elements for(i=0;i<n;i++){ scanf("%d",&a[i]); } for(i=0;i<n;i++) { //loop to sort … | |
If any body now about Browsers like TOR to open the blocked sites. Plz inform us. That as it will help us. or is there any software to increase the speed of the internet and also to open the blocked sites. .... Waiting for your response. Thank you. | |
Plz send me the Gauss jordon code snippet or Hint that how to write the code for it. i.e i want for nXn order. Waiting for ur post. Bye | |
[CODE] #include <stdio.h> #include<ctype.h> main() { int c,nletters[26],i; for (i = 0; i < 26; ++i) nletters[i] = 0; while ((c = getchar()) !='!') { if(isupper(c)) c=tolower(c); ++nletters[c - 'a']; } for (i = 0; i < 26; ++i) { c = 'a' + i; if(nletters[i] != 0){ putchar(c); printf(" … | |
[TEX]This is a small Program i have written to perform the Basic Operations. Here is my code for it. Please suggest to improve more.................[/TEX]3 [CODE] #include <stdio.h> #include <string.h> int main() { char operator; int num1, num2; //char operation[1]={'\0'}; printf("Enter two numbers and operator to perform calculations!...\n"); printf("Enter the operator: … |
The End.