Created
September 15, 2019 11:02
-
-
Save rudrathegreat/9b8e5e007952424316b32113c04d175c to your computer and use it in GitHub Desktop.
Writing Equations
This file contains hidden or 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
public class Sample | |
{ | |
public static void main(String[] args) | |
{ | |
float x, y, z, answer; | |
x = 5; | |
y = 2; | |
z = 3; | |
answer = ((3*x+y))/(z+2); | |
System.out.println(answer); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment