예제 #1
0
파일: planet.cpp 프로젝트: yohei1126/tycpp
double light (planet p){
  return p.get_miles()/186000;
} 
예제 #2
0
double light(planet pl)
{
	double dist = pl.get_miles();

	return dist / 186000;
}