This commit is contained in:
2025-11-24 10:36:08 +01:00
parent 7b836a14bd
commit e92ee90050
16 changed files with 421 additions and 0 deletions

18
pa-03/a4/test.c Normal file
View File

@@ -0,0 +1,18 @@
#include <stdio.h>
void ascii(int s) {
if (s < 1) s = 1;
for (char c = 32; c <= 126;) {
for (int i = 0; i < s && c <= 126; i++) {
printf("%3d %c ", c, c);
c++;
}
printf("\n");
}
}
int main() {
ascii(5);
return 0;
}