题目:
当你拨打长途电话时,电话公司所保存的信息包括你拨打电话的日期和时间。它还包括三个电话号码:你使用的那个电话、你呼叫的那个电话及你付账的那个电话。
这些电话号码的每一个都由三个部分组成:区号、交换台和号码。
请为这些记账信息编写一个结构声明。
//*************************************************************************************************************************
struct PHONE_NUMBER{
short area;
short exchange;
short station;
};
struct LONG_DISTANCE_BILL {
short month;
short day;
short year;
int time;
struct PHONE_NUMBER called;
struct PHONE_NUMBER calling;
struct PHONE_NUMBER billed;
};