Lab02g - test.getCelsius(); test.print();...

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 Lab02g { public static void main( String[] args ) { Fahrenheit test = new Fahrenheit(); test.setFahrenheit(98.6); test.getCelsius(); test.print(); test.setFahrenheit(52.30);
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.getCelsius(); test.print(); test.setFahrenheit(82.45); test.getCelsius(); test.print(); test.setFahrenheit(75.00); test.getCelsius(); test.print(); test.setFahrenheit(100.00); test.getCelsius(); 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