InLab01 Solution

InLab01 Solution - // Problem #2 double C, F F = 65.5 C =...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 import javax.swing.JOptionPane import java.util.Scanner // For #4 and #5 only public class InLab01 { public static void main(String args[]) { // Problem #1 System.out.println(" *** ****") System.out.println("* *") System.out.println("* ***") System.out.println("* *") System.out.println(" *** *")
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // Problem #2 double C, F F = 65.5 C = (5.0 / 9) * (F - 32) System.out.println(F + " degrees F = " + C + " degrees C") // Problem #3 F = 65.5 C = (5.0 / 9) * (F - 32) JOptionPane.showMessageDialog(null, F + " degrees F = " + C + " degrees C") } }...
View Full Document

This note was uploaded on 04/10/2008 for the course ENGR 131 taught by Professor Xiaowei during the Spring '07 term at Case Western.

Ask a homework question - tutors are online