diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-27 20:25:58 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-27 20:25:58 +0000 |
commit | ff750b5bcdb29cf9a4ce2117d857e35cd508a948 (patch) | |
tree | 58310ff4d5c462b769dfb3071722ce3cf71d09e6 /wk4 | |
parent | 2f9bce33fa5f28f721f6b1606ef32a1b7941daad (diff) |
Tue, Feb 27, 2024, 12:25 PM -08:00
Diffstat (limited to 'wk4')
-rw-r--r-- | wk4/lect/compare.c | 6 |
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"); } |