Lab02c - check.setNums(100.0,85.8 check.average check.print check.setNums-100.0,55.0 check.average check.print check.setNums(15236.0,5642.0

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 Lab02c { public static void main( String[] args ) { Average check = new Average(); check.setNums(5,5); check.average(); check.print(); check.setNums(90.0,100.0 ); check.average(); check.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: check.setNums(100.0,85.8 ); check.average(); check.print(); check.setNums(-100.0,55.0 ); check.average(); check.print(); check.setNums(15236.0,5642.0 ); check.average(); check.print(); check.setNums(1000.0,555.0 ); check.average(); check.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