diff --git a/5-vectors/24_survival_gear.cpp b/5-vectors/24_survival_gear.cpp index db9ca4c..9562661 100644 --- a/5-vectors/24_survival_gear.cpp +++ b/5-vectors/24_survival_gear.cpp @@ -13,7 +13,7 @@ int main() { "๐Ÿช“ axe", "๐Ÿชš saw", "๐Ÿ”ช knife", - "๐Ÿฅซ canned food" + "๐Ÿฅซ canned food", "๐Ÿงผ soap", "๐Ÿง‚ salt", "๐Ÿฅ˜ pot" diff --git a/6-functions/32_conversions.cpp b/6-functions/32_conversions.cpp index 36d8272..c08be39 100644 --- a/6-functions/32_conversions.cpp +++ b/6-functions/32_conversions.cpp @@ -4,10 +4,10 @@ #include int temp_conversion(int number) { - result = (number - 32) * 5/9; + int result = (number - 32) * 5 / 9; return result; } int main() { - temp_conversion(100); + std::cout << temp_conversion(100) << "\n"; }