aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/main.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 41577d9..8dc7a50 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -235,12 +235,18 @@ done:
std::cout << "Offset day at least partially set between 22:00 and 06:00.\nMinimum price is full dayrate. [ยง6.12A]\n";
}
}
- std::cout << "Price of day " << ii+1 << ": " << day_price << std::endl;
+ std::cout << "Price of day " << ii+1 << ": " << day_price;
+ if(social_costs > 1) std::cout << " (eks.sos)";
+ std::cout << std::endl;
total_sum += day_price;
}
- std::cout << "\nSum: " << total_sum;
- std::cout << "\nTotal: " << total_sum*social_costs << std::endl;
+ if(social_costs > 1) {
+ std::cout << "\nEks.sos: " << total_sum;
+ std::cout << "\nTotal, ink.sos: " << total_sum*social_costs << std::endl;
+ } else {
+ std::cout << "\nTotal: " << total_sum*social_costs << std::endl;
+ }
std::cin.get();
std::cin.ignore();