Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main (){
  5. int hoehe = 6;
  6. int breite = 6;
  7. int i = 0;
  8. int z = 0;
  9. int j = 0;
  10. int a = 0;
  11. int breitea = breite + 2;
  12. for (i = 1;i <= breitea; i++){
  13. printf("A");
  14. }
  15. for (z = 1;z <= hoehe; z++){
  16. printf ("\nA");
  17. for (j = 1; j <= breite; j++){
  18. printf ("B");
  19. }
  20. printf ("A");
  21. }
  22. printf ("\n");
  23. for (a = 1;a <= breitea; a++){
  24. printf("A");
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement