C Program to print exponentially Increasing Star Pattern

In this tutorial you will learn about the C Program to print exponentially Increasing Star Pattern and its application with practical example.

C Program to print exponentially Increasing Star Pattern

In this tutorial, we will learn to create a C program that will print an exponentially Increasing Star Pattern 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.

Program to print exponentially Increasing Star Pattern:-

In this program, we will learn to print exponentially Increasing Star Pattern with the help of c programming. First, we will take the input number of rows from the user. Then we will generate the series using the nested for loop to generate the series. Now we will print the series from the child loop using the print function.

Program Code:-

 

Output:-

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

  • i = it will hold the integer value to control the parent for loop.
  • j = it will hold the integer value to control the child for loop.
  • rw = it will hold the integer value for the number of rows of pattern.

Taking the input rows and Initializing the first parent for loop size and number of rows.

Generating the series.

Printing the exponential series.

In this tutorial we have learn about the C Program to print exponentially Increasing Star Pattern and its application with practical example. I hope you will like this tutorial.