-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds better support for nested parenthesis. See issue #2.
- Loading branch information
Troy Melhase
committed
Feb 6, 2012
1 parent
873f67a
commit ad5b3fe
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class Expr2 { | ||
public static void main(String[] args) { | ||
int a = 1; | ||
int b = 2; | ||
int c = 3; | ||
int radius = 4; | ||
int y = (radius*radius*a*(a + radius)*radius*b*b) / (c*c+a*a+b*b); | ||
System.out.println(y); | ||
|
||
} | ||
} |