diff options
Diffstat (limited to 'wk4/lect')
-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"); } |