//code.h
#include "stdafx.h"
#include "test.h"#include "io.h"
int process()
{
USER_T theKind; /* 电表用户的类型 */
USE_TIME_t start_Time; /* 开始使用时间 */
WEEK_T start_Week; /* 开始使用时间是星期几 */
USE_TIME_t end_Time; /* 结束使用时间 */
int value; /* 用电量 */
double fare;
double averageOfValue;
USE_TIME_t temp_time;
int numberOfWorkdays=0;
int numberOfHolidays=0;
int ret;
int fare_int;
ret = Input(&theKind,&start_Time,&start_Week,&end_Time,&value);
temp_time = start_Time;
if(!ret)
{
if(theKind==USER_COMMON){
if(s