Lab02b - test.sum(); test.print(); test.setNums(-100,55);...

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 Lab02b { public static void main( String[] args ) { Sum test = new Sum(); test.setNums(5,5); test.sum(); test.print(); test.setNums(90,100.0); test.sum(); test.print(); test.setNums(100.5,85.8);
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.sum(); test.print(); test.setNums(-100,55); test.sum(); test.print(); test.setNums(15236,5642); test.sum(); test.print(); test.setNums(1000,555); test.sum(); test.print(); //add more test cases } }...
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