Guest User

Untitled

a guest
Jul 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. const int Count = 26;
  6.  
  7. for ( int i=0; i<Count; i++ )
  8. {
  9. int j;
  10. for ( j=0; j<Count-(i+1); j++ )
  11. printf (" ");
  12. for ( j='A'; j<='A'+i; j++ )
  13. printf ( "%c", j );
  14. for ( j='A'+i-1; j>='A'; j-- )
  15. printf ( "%c", j );
  16. printf ("\n");
  17. }
  18.  
  19. return 0;
  20. }
Add Comment
Please, Sign In to add comment