Lab02e - test.setRadius(72.534); test.calculateArea( );...

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

View Full Document Right Arrow Icon
//© A+ Computer Science - www.apluscompsci.com //Name - //Date - //Lab - public class Lab02e { public static void main( String[] args ) { Circle test = new Circle(); test.setRadius(7.5); test.calculateArea( ); test.print(); test.setRadius(10); test.calculateArea( ); test.print();
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: test.setRadius(72.534); test.calculateArea( ); test.print(); test.setRadius(55); test.calculateArea( ); test.print(); test.setRadius(101); test.calculateArea( ); test.print(); test.setRadius(99.952); test.calculateArea( ); test.print(); } }...
View Full Document

This note was uploaded on 11/11/2011 for the course C++ comp122 taught by Professor N/a during the Spring '07 term at Cy-Fair College.

Ask a homework question - tutors are online