From df51b2bb52628d48bb6822ead13a7cc9c84b89b5 Mon Sep 17 00:00:00 2001 From: Akshay Date: Fri, 7 May 2021 11:41:11 +0530 Subject: fix assignment exprs --- 12/input | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to '12/input') diff --git a/12/input b/12/input index fa64ab2..b35b023 100644 --- a/12/input +++ b/12/input @@ -1,6 +1,13 @@ int main(int a, int b, int c) { if (a > b) { - for(;;); - a++; + int i = 1; + float j = 2; + } else if (a < b) { + b++; + while(a > b) { + a++; + } + } else { + c++; } } -- cgit v1.2.3