using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp3
{
class HH : HCN
{
public int cc;
public HH(int cd,int cr,int cc):base(cd,cr)
{
this.cc = cc;
}
public int tinhTT()
{
return tinhDT() * cc;
}
public String xuatTT()
{
return base.xuatTT() + " tt: " + tinhTT();
}
}
}
0 comments:
Post a Comment