From aacff5dfbe836f6f373499df925c5396c2371321 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Fri, 1 Dec 2023 06:46:04 +0000 Subject: Thu, Nov 30, 2023, 10:46 PM -08:00 --- calculator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calculator.c') diff --git a/calculator.c b/calculator.c index 84559d5..6ae31f0 100644 --- a/calculator.c +++ b/calculator.c @@ -3,8 +3,8 @@ int main(void) { - int x = get_int("x: "); - int y = get_int("y: "); + long x = get_int("x: "); + long y = get_int("y: "); - printf("%i\n", x+y); + printf("%li\n", x + y); } -- cgit v1.2.3