summaryrefslogtreecommitdiff
path: root/wk2/sect2
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-06 05:01:25 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-06 05:01:25 +0000
commit3b17ace5d6a5ff32db1a04930ddd48fbd21207bd (patch)
treef5c5713b7854548b546ad362507075bed659a8e4 /wk2/sect2
parent7e8a0fe698eebb95175833dbd0b14835e66c88a8 (diff)
Tue, Dec 5, 2023, 9:01 PM -08:00
Diffstat (limited to 'wk2/sect2')
-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");
+}