User Posts: royal52

  If you think you have too much American History Knowledge then think again, this app is developed for the sole purpose of measuring your America ...

READ MORE +

UX designers have recognized the value of animated videos ever since they became light and accessible to use in mobile environments.   Animations ...

READ MORE +

  If you think you have too much General Science knowledge then think again, this quiz is developed for the sole purpose of measuring your General ...

READ MORE +

Vehicles are one of the few tools that separate us so distinctly from the rest of animal kingdoms. With the rise and development of civilization, we have been ...

READ MORE +

Speed racers - furious adventure final year gaming project documentation for computer sciences or software engineering students. If you are wondering ...

READ MORE +

One of the most famous shows Game of Thrones is earning a huge number of fans on a regular basis and increasing in popularity around the whole world. True want ...

READ MORE +

Game of thrones keychain is very famous nowadays in the market. The fans of famous series of Games of Thrones are now able to enjoy seeing the characters with ...

READ MORE +

Just create a file Binary.txt in "D drive", then compile and execute the following code. #include<iostream> #include<fstream> ...

READ MORE +

You have to create two files named students_file.txt and file.html. Below is the program code:- #include <iostream> #include <fstream> ...

READ MORE +

If you want to be a programmer, you have to specify the type of programmer you want to be. This aspect is associated with any field and profession of the ...

READ MORE +

If you are new to Java, you must be asking yourself a lot of questions as you continue to see many different terms starting with the letter ā€œJā€. Of course, ...

READ MORE +

You've probably gathered by now that your website needs to be all about your mobile audience these days. In fact, not having a mobile friendly website could be ...

READ MORE +
Browsing All Comments By: royal52
  1. Reply
    Admin Feb 2, 2017 at 1:12 am

    just write if(array[j] lesser then array[j+1]) instead of if(array[j] greater then array[j+1]) and it will sort the array in descending order.

  2. Reply
    Admin Feb 2, 2017 at 1:09 am

    I have updated my comment with a code block containing while loop, cheers.

  3. Reply
    Admin Feb 1, 2017 at 5:32 pm

    Okay, that’s the code of Bubble sort by using While Loop written in C++.

    while(i < 4) { int j = 0; while(j < 4) { if(array[j]>array[j+1])
    {
    hold=array[j];
    array[j]=array[j+1];
    array[j+1]=hold;
    }
    j++;
    }
    i++;
    }

    If you have any other questions then let me know, thanks.

  4. Reply
    Admin Feb 1, 2017 at 5:04 pm

    yes we can use a while loop.

  5. Reply
    Admin Mar 9, 2016 at 10:52 pm

    Welcome

  6. Reply
    Admin Feb 9, 2016 at 3:57 pm

    thanks for pointing out.

  7. Reply
    Admin Jan 15, 2016 at 12:02 pm

    my pleasure :)

  8. Reply
    Royal52 Aug 18, 2015 at 8:31 pm

    thanks for pointing out !!!

Grab our Partner's Top Rated web hosting deal - Upto 90% off