コード例 #1
0
    public static String XuatChuoi(Double[][] a)
    {
        String temp = "";

        foreach (Double[] dong in a)
        {
            temp = temp + XuLyDaySo.XuatChuoi(dong) + ChuoiPhanCach;
        }
        return(temp);
    }
コード例 #2
0
    static void Main(string[] args)
    {
        Double[] a     = XuLyDaySo.Doc("DaySo.inp");
        String   Chuoi = "Du lieu khong hop le.";

        if (a != null)
        {
            Double s = XuLyDaySo.Tong(a);
            Chuoi = "Day so:" + XuLyDaySo.XuatChuoi(a) + "\n";
            Chuoi = Chuoi + "Co tong la:" + XuLySoThuc.XuatChuoi(s) + "\n";
        }
        XuLyChuoi.Xuat(Chuoi);
    }