From cdfa74ea3f8764e7ee21a7703ed64b2210439479 Mon Sep 17 00:00:00 2001 From: celso Date: Sat, 5 Nov 2022 17:53:31 -0300 Subject: [PATCH] fourteenth exercise --- 1-14.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 1-14.c diff --git a/1-14.c b/1-14.c new file mode 100644 index 0000000..ed7b5c9 --- /dev/null +++ b/1-14.c @@ -0,0 +1,41 @@ +#include +#define ARR_LENGTH 37 + +int main(){ + int cs[ARR_LENGTH] = { + '0', '1', '2', '3', '4', '5', + '6', '7', '8', '9', '0', 'a', + 'b', 'c', 'd', 'e', 'f', 'g', + 'h', 'i', 'j', 'k', 'l', 'm', + 'n', 'o', 'p', 'q', 'r', 's', + 't', 'u', 'v', 'w', 'x', 'y', + 'z' + }; + int cr[ARR_LENGTH]; + for (int i=0; i