C program to print Natural Numbers in Reverse Order

In this tutorial you will learn about the C program to print Natural Numbers in Reverse Order and its application with practical example.

C program to Print Natural Numbers in Reverse Order

In this tutorial, we will learn to create a C program that will print Natural Numbers in Reverse Order using C programming.

Prerequisites

Before starting with this tutorial, we assume that you are the best aware of the following C programming topics:

  • Operators in C Programming.
  • Basic Input and Output function in C Programming.
  • Basic C programming.
  • For Loop in C programming.
  • Conditional Statements in C programming.
  • Arithmetic operations in C Programming.

Algorithm:-

In this program, we will take the input number from the user. Then we will pass that number to a for loop to make the series. Then we will print that series of natural numbers in reverse order using the printf() function.

With the help of the below program, we can print Natural Numbers in Reverse Order.

Program Code:-

 

Output:-

In the above program, we have first initialized the required variable.

  • start = it will hold the integer value for the input.
  • i = it will hold the integer value for the controlling of the loop.

Taking the input amount from the user.

Converting the notes for the amount.

Printing output.

In this tutorial we have learn about the C program to print Natural Numbers in Reverse Order and its application with practical example. I hope you will like this tutorial.