Long time no see

This commit is contained in:
2026-02-21 10:47:00 +07:00
parent 0d54fe176e
commit b7df98a55c
198 changed files with 3249 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
#include <stdio.h>
int main(){
int ch,c,m[8];
ch = c = 0;
printf("ascii symb - its num until #\n");
while((ch = getchar()) != '#'){
m[c] = ch;
c++;
if(c == 8){
for(c = 0; c < 8; c++){
switch(m[c]){
case '\n':
printf("\\n - %d ",m[c]);
break;
case ' ':
printf("\"%c\" - %d ",m[c],m[c]);
break;
default:
printf("%c - %d ",m[c],m[c]);
}
}
printf("\n");
c = 0;
}
}
return 0;
}