Skip to main content

Posts

Featured

C Program to print the series of star pattern .

    Hello Everyone, So in this blog we are going to solve  various questions of star series in c language . So it is very interesting and exciting project.  So let's get started . Question 1 :      Write a Program to print the following series . * ** *** **** ***** solution : #include <stdio.h> #include <conio.h> void   main () { int   i , j , n ; clrscr (); printf ( "enter the number : " ); scanf ( "%d" ,& n ); for ( i = 1 ; i <= n ; i ++) { for ( j = 1 ; j <= i ; j ++) { printf ( "*" ); } printf ( " \n " ); } getch (); } Output :  Question 2 :      Write a Program to print the following series .                    *                ***             *****      ...

Latest posts

C Program to print highest number without using array.

C Program to print alphabets .

C program to find the total salary of an employee .

C program to add three numbers in turbo C++