pies a yardas, pulgadas, centímetros y metros soporte

public class conversionespies { double pies; double m; conversionespies () { } conversionespies (double p) { pies=p; } double conv_pulgadas(){ double pu; pu=pies*12; return pu; } double conv_yardas(){ double y; y=pies/3; return y; } double conv_metros(){ double m; this.m=pies*(.3048); return this.m; } double conv_centis(){ double c; c=this.m*100; return c; } void set_conversionespies(double p){ pies=p; } }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.