C Program To print a Pattern - A AB ABC ABCD on June 13, 2021 Get link Facebook X Pinterest Email Other Apps // Program by Akash Tripathi (@proakash256) /*To print the pattern :AABABCABCD*/#include <stdio.h>int main(){ for(int i = 65; i <= 68; i = i + 1) { for(int j = 65; j <= i; j = j + 1) printf("%c" , j); printf("\n"); } return 0;} Comments
Comments
Post a Comment