Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {

    public static void main(String[] args) {

        System.out.println(Math.floor(70));
        System.out.println(Math.floor(31.1));
        System.out.println(Math.floor(12.5));
        System.out.println(Math.floor(-10));
        System.out.println(Math.floor(-12.4));
        System.out.println(Math.floor(0));

    }

}