#include<stdio.h> #include<conio.h> void main() { int n,i,j,k,l,m,sp=1; clrscr(); printf("Enter number \n"); scanf("%d",&n); if(n%2==0) sp=2; for(i=1;i<=n;i++) printf("*"); printf("\n"); for(k=n/2;k>=1;k--) { for(j=1;j<=k;j++) printf("*"); for(l=sp;l>=1;l--) printf(" "); for(m=1;m<=k;m++) printf("*"); printf("\n"); sp+=2; } sp-=2; for(k=1;k<=n/2;k++) {if(k!=1) {for(j=1;j<=k;j++) printf("*"); for(l=sp;l>=1;l--) printf(" "); for(m=1;m<=k;m++) printf("*"); printf("\n"); } sp-=2; } for(i=1;i<=n;i++) printf("*"); getch(); } SIMPLE PROGRAMS FIND TYPE OF THE TRIANGLE TEMPERATURE CONVERSION COMMISSION OF A SALESMAN PRINT NUMBERS IN DESCENDING ORDER BIGGEST NUMBER AMONG THREE NUMBERS CALCULATE DIVISION A YEAR IS LEAP OR NOT A NUMBER IS ODD OR EVEN PRINT THE SQUA...
this is a net web blog journal diary that is formed and made by a Indian student for faculty,college kids,children and youngsters as a gift for you to hold and carry everywhere and everyplace around the globe.This journal is completely and totally free from price to use and is extremely easy to use and very easy to understand.