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.ceil(10));
        System.out.println(Math.ceil(9.1));
        System.out.println(Math.ceil(5.5));
        System.out.println(Math.ceil(-10));
        System.out.println(Math.ceil(-4.4));
        System.out.println(Math.ceil(0));
    }
}
/*
10.0
10.0
6.0
-10.0
-4.0
0.0
*/