diff --git a/du1/output/program.exe b/du1/output/program.exe deleted file mode 100644 index fbf2f7b..0000000 Binary files a/du1/output/program.exe and /dev/null differ diff --git a/du1/program b/du1/program deleted file mode 100755 index bd6c393..0000000 Binary files a/du1/program and /dev/null differ diff --git a/du1/program.c b/du1/program.c new file mode 100644 index 0000000..2c35062 --- /dev/null +++ b/du1/program.c @@ -0,0 +1,53 @@ +#include +#include +#define LINESIZE 100 + +void deshifr (char *text) { + for (int i = 0; text[i] != '\0'; i++) { + switch (text[i]) { + case '0': + text[i] = 'o'; + break; + case '1': + text[i] = 'i'; + break; + case '2': + text[i] = 'z'; + break; + case '3': + text[i] = 'e'; + break; + case '4': + text[i] = 'a'; + break; + case '5': + text[i] = 's'; + break; + case '6': + text[i] = 'b'; + break; + case '7': + text[i] = 't'; + break; + case '8': + text[i] = 'b'; + break; + case '9': + text[i] = 'q'; + break; + } + text[i] = tolower(text[i]); + } +} + + +int main() { + + + struct pizza { + float prize; + char name[LINESIZE]; + }; + +return 0; +} \ No newline at end of file