// Print a Fahrenheit to Celsius table
class example {
public static void main (String args[]) {
// lower limit of temperature table
double lower = 0.0;
// upper limit of temperature table
double upper = 300.0;
// step size
double step = 20.0;
double fahr = lower;
while (fahr <= upper) {
double celsius = (5.0 / 9.0) * (fahr-32.0);
System.out.println(fahr + “ “ + celsius);
fahr = fahr + step;
}
}
}
Home      |      About Us      |     Portfolio      |      Services      |      Courses      |     Career      |      Cost      |      Contact Us
Services
  SEO   
  Link Building
  Data Entry
  Web Design and development
  Web Application development
 

Graphic and multimedia

  E-Commerce Solutions
  Software development
  Web Marketing & Promoting
  Internet Marketing
  IT Outsourcing
  Multimedia/CD Presentation
  Synopsis Ideas
  Project Ideas
  Placement Papers
  Live Project Training
  Programming & Projects
  Faq
  Training @balujalabs
 
 
Method
 

Print Fehrenheit to celsius table.

 

 

 

 

 

 

 

 

 

                                                                                                                                          

1

To Demonstrate the use of Arithmetic Operators.

2

To Demonstrate the use of Mod(%) Operator.

3 To Define three integers and use the Relational Operators.
4 To Demonstrate the use of Relational Operator
5

To Demonstrate the use of static variables.

6

To Demonstrate Ternary Operators.

7

To find whether the two strings are equal or not.

8

To calculate potential energy.

9

Print Fehrenheit to celsius table.