Baba Aiso Varr Dhundo

India-Forums

   
Baba Aiso Varr Dhundo
Baba Aiso Varr Dhundo

|| Chit Chat Corner #13 || (Page 28)

KMH2 IF-Rockerz

Banned Upon Request
Joined: 20 December 2010
Posts: 8237

Posted: 12 March 2011 at 5:57am | IP Logged
THE ACCOUNT OF THE MEMBER WHO POSTED THIS MESSAGE HAS BEEN TEMPORARILY BANNED.

If you think this is an error please Contact us.

The following 1 member(s) liked the above post:

jaanshen

-Vrinda- IF-Sizzlerz
-Vrinda-
-Vrinda-

Joined: 17 October 2009
Posts: 14485

Posted: 12 March 2011 at 5:59am | IP Logged
hi abeer

The following 1 member(s) liked the above post:

jaanshen

jaanshen Goldie
jaanshen
jaanshen

Joined: 10 October 2010
Posts: 1760

Posted: 12 March 2011 at 5:59am | IP Logged
@ hi vrinda
how are you
sweetie_pie.. IF-Dazzler
sweetie_pie..
sweetie_pie..

Joined: 20 November 2007
Posts: 4725

Posted: 12 March 2011 at 6:00am | IP Logged
  1. #include<stdio.h>
  2. #include<conio.h>
  3. void main()
  4. {
  5. int a[11],i,j,k,ch,sh,e;
  6. clrscr();
  7. printf("enter array elements:");
  8. for(i=0;i<10;i++)
  9. scanf("%d",&a[i]);
  10. printf("enter choice\n1.in between insertion\n2.insertion in the beginning\n3.insertion at the end");
  11. scanf("%d",&ch);
  12. switch(ch)
  13. {case1:
  14. printf("enter the element:");
  15. scanf("%d",&e);
  16. printf("enter the element after which the number has to be inserted:");
  17. scanf("%d",&sh);
  18. for(i=0;i<10;i++)
  19. {
  20. if(a[i]==sh)//finding the element
  21. break;
  22. }
  23. for(k=9;k>i;k--)
  24. a[k+1]=a[k];//shifting the element
  25. a[i+1]=e;
  26. break;
  27. case2:
  28. printf("enter the element:");
  29. scanf("%d",&e);
  30. for(k=9;k>=0;k--)
  31. a[k+1]=a[k];
  32. a[0]=e;
  33. break;
  34. case3:
  35. printf("enter the element:");
  36. scanf("%d",&e);
  37. a[10]=e;
  38. }
  39. printf("\n");
  40. for(i=0;i<10;i++)//display the result
  41. printf("%d",a[i]);
  42. getch();
  43. }
sweetie_pie.. IF-Dazzler
sweetie_pie..
sweetie_pie..

Joined: 20 November 2007
Posts: 4725

Posted: 12 March 2011 at 6:00am | IP Logged
hey dekho i got this on net
KMH2 IF-Rockerz

Banned Upon Request
Joined: 20 December 2010
Posts: 8237

Posted: 12 March 2011 at 6:00am | IP Logged
THE ACCOUNT OF THE MEMBER WHO POSTED THIS MESSAGE HAS BEEN TEMPORARILY BANNED.

If you think this is an error please Contact us.

The following 1 member(s) liked the above post:

jaanshen

KMH2 IF-Rockerz

Banned Upon Request
Joined: 20 December 2010
Posts: 8237

Posted: 12 March 2011 at 6:01am | IP Logged
THE ACCOUNT OF THE MEMBER WHO POSTED THIS MESSAGE HAS BEEN TEMPORARILY BANNED.

If you think this is an error please Contact us.

The following 1 member(s) liked the above post:

jaanshen

-Vrinda- IF-Sizzlerz
-Vrinda-
-Vrinda-

Joined: 17 October 2009
Posts: 14485

Posted: 12 March 2011 at 6:01am | IP Logged
hi ashu

The following 1 member(s) liked the above post:

jaanshen

Go to top

Forum Quick Jump

Forum Category / Channels
Forums

Baba Aiso Varr Dhundo Topic Index

  • Please login to check your Last 10 Topics posted

Check these Celebrity also

Disclaimer: All Logos and Pictures of various Channels, Shows, Artistes, Media Houses, Companies, Brands etc. belong to their respective owners, and are used to merely visually identify the Channels, Shows, Companies, Brands, etc. to the viewer. Incase of any issue please contact the webmaster.

Popular Channels :
Star Plus | Zee TV | Sony TV | Colors TV | SAB TV | Life OK

Quick Links :
Top 100 TV Celebrities | Top 100 Bollywood Celebs | About Us | Contact Us | Advertise | Forum Index