Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C program for bubble sort:
void main()
{
int i,j,k,a[10],n;
clrscr();
printf("How many values you want to enter\n");
scanf("%d",&n);
for(i=0;i<=n-1;i++)
printf(" %d no?\n",i+1);
scanf("%d",&a[i]);
}
for (i=0;i<=n-1;i++)
for(j=0;j { if (a[j]>a[j+1]) { k=a[j+1]; a[j+1]=a[j]; a[j]=k; } } for(i=0;i<=n-1;i++) printf("%d\n",a[i]); getch(); }
if (a[j]>a[j+1])
{ k=a[j+1];
a[j+1]=a[j];
a[j]=k;
for(i=0;i<=n-1;i++) printf("%d\n",a[i]);
getch();
how to write the code for operation research
I''m trying to write a function that prints the substring if it is found in the string, and after it prints it deletes it from the string so i could print the next substring if it
Write a function that has an int parameter n, makes an integer mask having the bit 1 at the nth place from the rightmost bit, and returns the mask. For example, when n = 5 is passe
define a class for student
You are setting up an information system for a DVD Rental Company called Box office. The new system need to hold information about customers and DVDs rentals, payments and fines. C
how to get plus asterisk pattern
Discuss the saleint featuresand application of c
Can I explicitly call a destructor if I've allocated my object with new?
Write a program that reads a line of characters from the user and displays that entire line after converting any uppercase characters to lowercase also change any lowercase charact
Explain the different types of errors in PHP. Warnings, Notices and Fatal errors are the types of errors in PHP Notices: Notices signifies non-critical errors, i.e. ac
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd