public class Test1_13 { public static void main(String[] args) { double a = 3.4, b = 50.2, e = 44.5, c = 2.1, d = 0.55, f = 5.9; double x = (e * d - b * f) / (a * d - b * c); double y = (a * f - e * c) / (a * d - b * c); System.out.println("x = " + x + "\ty=" + y); } }以上代码均为个人编写,不当之处,悉请指正。
Java语言程序设计基础篇编程练习题1.13示例代码
猜你喜欢
转载自blog.csdn.net/qq_38234015/article/details/80115808
今日推荐
周排行