Skip to content

Instantly share code, notes, and snippets.

@LearnByCode
Created December 26, 2015 06:11
Show Gist options
  • Save LearnByCode/2362da72cacc60844a51 to your computer and use it in GitHub Desktop.
Save LearnByCode/2362da72cacc60844a51 to your computer and use it in GitHub Desktop.
public class MathTwoProg {
public static void main(String[] args) {
int myNumber;
double myOtherNumber;
myNumber = 2;
myOtherNumber = 1.7938;
System.out.println("myNumber is " + myNumber);
System.out.println("myOtherNumber is " + myOtherNumber);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment