programming's archive
Learn Java by Studying sample programs
//prog1 Covertion of Celcious to Fahrenheit ///page no 1
import java.io.*;
import java.lang.*;
public class tempdegree
{
public static void main(String args[]) throws IOException
{
double c=0;
double f=0;
InputStreamReader reader = new InputStreamReader(System.in);
BufferedReader input = new BufferedReader(reader);
System.out.println(”Enter Temp in Fahrenheit =”);
String v1 = input.readLine();
f=Integer.parseInt(v1);
c=5.0/9.0*(f-32.0);
System.out.println(”Temp in Celcius =”+c);
if(c>37.4)
{
System.out.println(”There is Feaver”);
}
else
{
System.out.println(”There is no Feaver”);
}
}
}
How to build a Good User Interface
Human use the computer and computer is a just a tool. The importance of User is always important as the machine work under the action of a user. But during developing a computer program a programmer specially focus on the capability of the user. The Company like Microsoft is now in such a top position […]
Ads
Tags
- broadbrand business buying computer design designer designing domain edit filezilla free ftp GB Google GPS guestbook html in Internet laptop Mobile modi mysql name PC php PND price programming reseller server sidebar sites software telecom templates transfer upload url vb visitor Webhosting website websites www