summaryrefslogtreecommitdiff
path: root/wk4
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-27 20:25:58 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-27 20:25:58 +0000
commitff750b5bcdb29cf9a4ce2117d857e35cd508a948 (patch)
tree58310ff4d5c462b769dfb3071722ce3cf71d09e6 /wk4
parent2f9bce33fa5f28f721f6b1606ef32a1b7941daad (diff)
Tue, Feb 27, 2024, 12:25 PM -08:00
Diffstat (limited to 'wk4')
-rw-r--r--wk4/lect/compare.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wk4/lect/compare.c b/wk4/lect/compare.c
index f13cfda..266ad89 100644
--- a/wk4/lect/compare.c
+++ b/wk4/lect/compare.c
@@ -6,10 +6,10 @@
int main(void)
{
- int i = get_int("i: ");
- int j = get_int("j: ");
+ string s = get_string("s: ");
+ string t = get_string("t: ");
- if (i==j)
+ if (s==t)
{
printf("Same\n");
}