This preview shows page 1. Sign up to view the full content.
Unformatted text preview: width =scan1.nextInt(); double width2=(double)height*(1.77777); d double size= (((double)width2*(double)width2)+ ((double)height*(double)height)); double root = Math.sqrt(size); System.out.println("You equivlant HDTV size is = " +root); } }...
View Full Document
This note was uploaded on 03/01/2011 for the course CSC 116 taught by Professor Mayes during the Spring '08 term at N.C. State.
- Spring '08