Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Tute {
- public static void main(String[] args) {
- //System.out.println(Math.abs(-5));// 5
- int area = squareArea(10, 12);
- //System.out.println("area of the floor is " +area);
- int x=10;
- System.out.println(x);
- }
- public static int squareArea(int width, int height) {
- return width * height;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment