#include<stdio.h> #include<conio.h> void main() { int i,j,rows,k; printf("Enter a number to define the rows: "); scanf("%d",&rows); for(i=1;i<=rows;i++) { for(j=1;j<=i;j++) { printf(" "); } for(k=i;k<=rows;k++) { printf("%c ",'A'+k); } printf("\n"); } getch(); }YouTube Video..
This blogger has been created for the purpose of education. The owner of this blogger is Vikas Kumar Sharma who has worked hard in making this blog lo, only coding related topics are posted in this blog. Computer people who want to learn the language, follow this blog and post it to others
Wednesday, 8 September 2021
Write a program to print the inverted full Pyramid of alphabets...
Subscribe to:
Post Comments (Atom)
Program to check whether the reverse string is a palindrome
# include < stdio.h > # include < string.h > int main ( ) { //declare variables char str1 [ 30 ] ; int i , len...

-
Example 4: Calculator Program in C using function and switch statement Let's create a Calculator program using function and switch cas...
-
Example-1 .How to write a calculator program in C using the switch case statement . calculator.c # include < stdio.h > int main ( )...
No comments:
Post a Comment