Test - System.out.println(Math.floor(number)); if(...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
package comp202; public class Test { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(); double number =Math.log(8)/Math.log(2);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: System.out.println(Math.floor(number)); if( number==Math.floor(number) ) { System.out.println("asd"); } } }...
View Full Document

This note was uploaded on 04/13/2011 for the course ENGR 202 taught by Professor Yavuzyildirim during the Spring '11 term at Boğaziçi University.

Ask a homework question - tutors are online