package 数据类型;
//长整型
class Light {
public static void main(String args[]){
int lightspeed;
long days;
long seconds;
long distance;
lightspeed = 186000;
days = 1000;
seconds = days*24*60*60;
distance = lightspeed*seconds;
System.out.print("输入" + days);
System.out.print("光在这些天内将旅行");
System.out.println(distance + "米。");
}
}