Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Not sure if you're trying to reference a min() function here or not. https://www.geeksforgeeks.org/stdmin-in-cpp/ But this exercise from c++ occurs before "functions" are taught. In the case of your code, min is never declared, for example double min; or double min = ... If you want a clue as to how to solve this look at practice 32.2
11th Dec 2022, 8:28 AM
Scott D
Scott D - avatar