Posts by Shubham Loya

Author Biographical Info: Not available

C++ program to find nth ugly number

By Shubham Loya

Today, in this tutorial, we are going to see how we can get the value of the nth ugly number in C++. Ugly numbers are the numbers which have  2,3 or 5 as their only prime factors .... Read More

Sorting ugly numbers in an array at their relative positions in C++

By Shubham Loya

Today, in this tutorial, we will get to know how to sort the ugly number present in an array of many numbers and some of which aren’t even ugly numbers, in C++. Ugly numbers .... Read More

Generate a random array in C or C++

By Shubham Loya

Today, in this tutorial, we will get to know how to generate a random array with random values in C and C++. So you will learn how to generate a random number and store the corresp.... Read More

Related Posts