summaryrefslogtreecommitdiff
path: root/wk2/sect2/alpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'wk2/sect2/alpha.c')
-rw-r--r--wk2/sect2/alpha.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/wk2/sect2/alpha.c b/wk2/sect2/alpha.c
new file mode 100644
index 0000000..8007f2e
--- /dev/null
+++ b/wk2/sect2/alpha.c
@@ -0,0 +1,18 @@
+#include <stdio.h>
+#include <ctype.h>
+#include <cs50.h>
+#include <string.h>
+
+int main(void)
+{
+ string word = get_string("Word: ");
+ int l = strlen(word);
+ for (int i = 0; i < l; i++)
+ {
+ if (word[i] > 96 && word[i] < 123)
+ {
+
+ }
+ }
+ printf("\n");
+}