User Posts: royal52
0
How You Can Gain Success in Retail via Machine Learning
0

Over the past several months, many retailers have been struggling with keeping their physical stores open, leading some to bankruptcy. In addition, share ...

0
Fix: Quick Access Not Showing Recent Files in Windows 10
1

After upgrading to Windows 10, users can use a new feature called Quick Access in File Explorer.  The Quick Access displays computer files in two groups, ...

0
Seven Ways to Improve Conference Calls
1

Does your company utilize conference calls often? Conference calls can sometimes be ineffective or inefficient depending on some factors. They might seem ...

1
10 Most Popular Hard Drive Failure Signs You Should Know
3

Hard drive speed: The speed of hard drive is much faster than that of many other storage devices, such as memory stick, memory card, USB flash drive and ...

0
Six things to keep in mind when buying a new laptop
0

Whether you want to write a term paper, organize a research project, or teach a class, you would need the right laptop which is best suited to your specific ...

0
5 Competitive Gaming Techniques for Starters That Will Make Them Win
1

Gaming has completely evolved throughout the years. With the booming e-sports industry and the amount of money that pro gamers make everybody wants to be the ...

0
How to Stop Wasting Money As A Freelancer
2

Everyone experiences a time when they need to cut down on costs but when you’re a freelancer for a living, it might seem impossible to find money-saving ...

0
How to Play Online Bingo
1

Bingo is a popular game where players mark off numbers on cards as they are randomly drawn by a caller. The winner is the first person to mark off all their ...

0
10 Best Practices for Business Mobile App Development
-1

A lot can be said about the value of native mobile apps, especially in the business world. Many companies, from Walmart to Best Buy, are seeing immense success ...

12
Excellent Tips for Logo Design
13

Whether you're starting a new company, building a website, or developing an Android app, having a superb logo is crucial. However, designing a logo can be ...

0
Why You Should Create Your Own PCBs
0

Thinking about getting into the world of electronics? If you are looking to start designing your own electronic equipment, you should also think about creating ...

0
The Top VR Gift Guide For Those Who Haven’t a Clue
2

Confused by VR? You’re not alone. Technology has been taking giant, confident leaps over the last few years, pulling us along with it at a speed some of us ...

Browsing All Comments By: royal52
  1. 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. I have updated my comment with a code block containing while loop, cheers.

  3. 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. yes we can use a while loop.

  5. thanks for pointing out.

  6. thanks for pointing out !!!