Skip to content

Instantly share code, notes, and snippets.

@rudrathegreat
Created September 15, 2019 11:02
Show Gist options
  • Save rudrathegreat/9b8e5e007952424316b32113c04d175c to your computer and use it in GitHub Desktop.
Save rudrathegreat/9b8e5e007952424316b32113c04d175c to your computer and use it in GitHub Desktop.
Writing Equations
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