Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class VariablesTut {
public static void main(String[] args) {
double pi = 3.14;
int perfectnum;
perfectnum = 777;
System.out.println(" is the value of pi, but let's make a newline");
System.out.print("the perfect number is ");
System.out.println(" but who's newline is it anyway?"); //*rimshot*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment