public class Computer{
String name;
private double price;
private double performance;
public Computer(String theName, double thePrice, double thePerformance){
name=theName;
price=thePrice;
performance=thePerformance;
}
public String getName(){
return name;
}
public double ratio(){
return price/performance;
}
}