Chapter4
This commit is contained in:
13
DeitelC/Chapter4/asciiPrint.c
Normal file
13
DeitelC/Chapter4/asciiPrint.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
|
||||
for(int i = 0; i < 128; i++) {
|
||||
if(i % 10 == 0) {
|
||||
printf(" %c\n", i);
|
||||
} else {
|
||||
printf(" %c", i);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user