• Home
  • General Knowledge
    • Basic G. K.
    • World History
    • Indian History
    • Geography
    • Indian Constitution
    • Physics
    • Chemistry
    • Biology
    • Book & Author
    • Honour & Award
    • General Knowledge Test
  • General Aptitude
    • General Aptitude
    • Numerical Aptitude
    • Verbal Aptitude
    • Non- Verbal Aptitude
    • General Aptitude Test
  • Current Affairs
    • Current Day
    • Current Weak
    • Current Month
    • Current Year
  • Computer Tutorial
    • Basic Computer
    • Computer Fundamental
    • Computer Network
    • C- Tutorial
    • C- Programming
    • Linux Tutorial
    • Linux Commands
  • Objective MCQ
    • General Knowledge
    • Computer Engineering
    • General Aptitude
    • Verbal and Reasoning
    • Engineering
    • Medical Science
    • English
  • Basic C-Programming
  • Design Control & Looping
  • Programs on Array
  • Programs on Pointer
  • Pattern Programming
  •   » Pattern- 1
  •   » Pattern- 2
  •   » Pattern- 3
  •   » Pattern- 4
  •   » Pattern- 5
  •   » Pattern- 6
  •   » Pattern- 7
  •   » Pattern- 8
  •   » Pattern- 9
  •   » Pattern- 10
  • Programs on Function
  • Programs on String
  • Structure & Union
  • File Handiling
  • Additional programs

Program in C to display the triangular word pattern


Home » C-Programming » Pattern Programming » Program in C to display the triangular word pattern
« Previous Program
Next Program »

Question : Write a Program in c to display the following Pattern.

A
A B
A B C
A B C D
A B C D E

\* C Program to display the triangular word pattern *\

# include < stdio.h >
int   main( )
{

int   i, j, r ;
char   ch ;
printf(" Enter the Number of row : ") ;
scanf("%d ", & r) ;
printf("\n Pattern are : \n\n") ;
for (  i = 1 ; i < = r ; i++ )
{

ch = 65
for (  j = 1 ; j < = i ; j++ )
{

printf(" %c", ch) ;
ch++  ;

}
printf(" \n ") ;

}
return ( 0 );

}

Output of Program:


« Previous Program
Next Program »

You may also like-

Program in C to display the number and star pattern Program in C to display the triangular word pattern Program in C to merge two unsorted array in descending order Program in c to Find the roots of a Quardratic equation Program in C to find the smallest number using pointer

General Information

GENERAL NOTE 2019 © All Right Reserved.