集册 Java实例教程 资产负债表程序示意图

资产负债表程序示意图

欢马劈雪     最近更新时间:2020-01-02 10:19:05

565
提示:您可在线编辑运行本教程的实例 - 运行实例,去试试!
资产负债表程序示意图

public class Main {

    public static void main(String[] args) {

        System.out.print("Total credit (in US dollars):\t");

        System.out.println(100 + 150);//时   代    Java - nowjava.com 提供


        System.out.print("Total debit (in US dollars):\t");

        System.out.println(50 + 25 + 100);


        System.out.println((100 + 150) - (50 + 25 + 100));


        System.out.print("Balance:");

    }

}