Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- double bubble = 867.5309;
- double x = 10.01;
- double y = 8.0;
- Printer(x, y);
- public static void Printer(double x, double y) {
- int z = 5;
- System.out.println("x = " + x + " and y = " + y);
- System.out.println("x = " + x + " and y = " + bubble);
- System.out.println("The value from main is: " + bubble);
- System.out.println("z = " + z);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement