L1.5: Math Operators - Division

PHOTO EMBED

Thu Oct 19 2023 02:51:09 GMT+0000 (Coordinated Universal Time)

Saved by @testpro #java

class Main {
    public static void main(String[] args) {

       double a = 5;
       double b = 2;
      
       double result = a/b;
      
       System.out.println(result);
    }
}
// Output: 2.5
content_copyCOPY