CS1113_Homework 6 # 2

CS1113_Homework 6 # 2 - { // Declare named constants double...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 // Matt Hergenrether // Section 10 // CS 1113 // April 10, 2008 // Homework 6 # 2 // finds the max double value of four values. import java.util.* // util contains the Scanner class public class Maximum { public static void main(String[] args)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { // Declare named constants double dA double dB double dC double dD double dMax dMax = dA if(dB > dMax) { dMax = dB } if(dC > dMax) { dMax = dC } if(dD > dMax) { dMax = dD } } // End of Main } //End of class...
View Full Document

This note was uploaded on 09/28/2011 for the course CS 1113 taught by Professor Chandler during the Fall '08 term at Oklahoma State.

Ask a homework question - tutors are online