Showing posts with label division two numbers in java. Show all posts
Showing posts with label division two numbers in java. Show all posts

Wednesday, October 30, 2013

1.03 - Division of two numbers

/*
 * Autor: Juan Antonio Ripoll
 * Date: 30/10/13
 * 
 * Write a JAVA program to print the result of 
 * dividing 24 into 5 on screen.  
 * */

public class Main {

 public static void main(String[] args) {
  System.out.println(24/5);
 }

}