From ced2198248a9e69d3b41c28ccea225c1597dd4d3 Mon Sep 17 00:00:00 2001 From: hemanth981 <56482674+hemanth981@users.noreply.github.com> Date: Sat, 12 Oct 2019 21:45:35 +0530 Subject: [PATCH] Update Expression.java --- codeforces/Expression.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/codeforces/Expression.java b/codeforces/Expression.java index 694d36a..d3cf147 100644 --- a/codeforces/Expression.java +++ b/codeforces/Expression.java @@ -3,11 +3,11 @@ public class Expression{ public static void main(String[] args) { - Scanner sc = new Scanner(System.in); - int a = sc.nextInt(); - int b = sc.nextInt(); - int c = sc.nextInt(); - sc.close(); + Scanner s = new Scanner(System.in); + int a = s.nextInt(); + int b = s.nextInt(); + int c = s.nextInt(); + s.close(); int l = 0 , d = 0; d = (a * b * c); if(d>l){ @@ -37,4 +37,4 @@ public static void main(String[] args) { System.out.println(l); } -} \ No newline at end of file +}