changed fuel efficiency to percentage
This commit is contained in:
parent
2e67813f48
commit
d1800fa5f2
|
@ -11,7 +11,7 @@ fuel_rod::fuel_rod(double fuel, double mass) : s(fuel, mass)
|
|||
void fuel_rod::display(std::ostream& o) const
|
||||
{
|
||||
o << "Fuel: " << s.get_fuel() << " / " << s.get_mass() << " mol\n";
|
||||
o << "Efficiency: " << s.get_efficiency() << "\n";
|
||||
o << "Efficiency: " << (s.get_efficiency() * 100) << " %\n";
|
||||
o << "Energy: +" << s.get_energy() << " C\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue