CentigradeTempratureTable

CentigradeTempratureTable - ade); } } public static double

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

View Full Document Right Arrow Icon
public class CentigradeTemperatureTable { public static void main(String[] args) { double centigrade, fahrenheit; for (int i=0; i<=20; i++) { centigrade=CentigradeTempe rature(i); System.out.println(centigr
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ade); } } public static double CentigradeTemperature (int temperature) { double fahrenheit=0; double c = (5/9) * (fahrenheit - 32); return c; } }...
View Full Document

Ask a homework question - tutors are online