From ff750b5bcdb29cf9a4ce2117d857e35cd508a948 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Tue, 27 Feb 2024 20:25:58 +0000 Subject: Tue, Feb 27, 2024, 12:25 PM -08:00 --- wk4/lect/compare.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wk4/lect') 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"); } -- cgit v1.2.3