commit c43df8ca7bed6aebe0059f51b50d4a722f64f030
parent b9fdbd73357c92fd26635b75f77176f658b713aa
Author: Martin J. Klockner <martin.cachari@gmail.com>
Date: Thu, 19 Nov 2020 00:29:49 -0300
Added ex13.c (not finished yet)
Diffstat:
1 file changed, 25 insertions(+), 0 deletions(-)
diff --git a/95.11/guia03/ex13.c b/95.11/guia03/ex13.c
@@ -0,0 +1,25 @@
+#include <stdio.h>
+
+#ifndef MAX_LEN
+ #define MAX_LEN 100
+#endif
+
+
+typedef enum {
+ FMT_MAYUSCULAS, FMT_MINUSCULAS
+} format_t;
+
+
+int main(void) {
+
+ char str[MAX_LEN];
+ int i, aux;
+
+ if(fgets(str, MAX_LEN, stdin) == NULL)
+ return 1;
+
+
+
+ printf("%s\n", str);
+ return 0;
+}