Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <math.h>
  4. #include<conio.h>
  5.  
  6. int main()
  7. {
  8. system("chcp 1250>0");
  9. int i;
  10. printf("%c",32);
  11. printf("Ile znaków chcesz wyświetlić w wierszu?");scanf("%d",&i);
  12. for(int x=32;x<256;x++){
  13. for(int y=0;y<i;y++)printf("%c",x);
  14. printf("\n\n");
  15. }
  16.  
  17. system("PAUSE");
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement