Created
February 15, 2016 15:26
-
-
Save alexejVasko/23248a228f1752cdb52d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package method; | |
public class Square { | |
public static void main(String[] args) { | |
square(3); | |
} | |
static void square(double number) { | |
System.out.println(number * number); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Задание и решение не соответствуют.