---
title: "Discussion on \"C++ Program for sorting Digits of a given Number\" | Hashnode"
description: "Discussion on \"C++ Program for sorting Digits of a given Number\". In this article we are going to learn about that how can we sort the digits of a number in increasing order or decreasing order when we are given a Number 'N'.\nLet's understand with the help of an example given below: -\n\nLet you be given a number N =..."
url: "https://hashnode.com/posts/c-program-for-sorting-digits-of-a-given-number/63e754ffc23c310c9a85f715"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [C++ Program for sorting Digits of a given Number](https://coder152.com/c-program-for-sorting-digits-of-a-given-number?utm_source=hashnode&utm_medium=feed)

In this article we are going to learn about that how can we sort the digits of a number in increasing order or decreasing order when we are given a Number 'N'. Let's understand with the help of an example given below: - Let you be given a number N =...

Feb 11, 2023 · 3 min read · coder152.com  
Read the article

-   [#general-programming](https://hashnode.com/tag/general-programming)
-   [#competitive-programming](https://hashnode.com/tag/competitive-programming)

## Written by

[Prince Kumar](https://hashnode.com/@crewx152)

@crewx152

  
[View profile](https://hashnode.com/@crewx152)

I am currently doing my B.tech from Krishna Engineering College

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
