Created
January 11, 2018 17:04
-
-
Save Twisted-Code/d5bdee767433d8b27ee82803c3d95d97 to your computer and use it in GitHub Desktop.
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
public class VariablesTut { | |
public static void main(String[] args) { | |
double pi = 3.14; | |
int perfectnum; | |
perfectnum = 777; | |
System.out.print(pi); | |
System.out.println(" is the value of pi, but let's make a newline"); | |
System.out.print("the perfect number is "); | |
System.out.print(perfectnum); | |
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