0

Explain needed

C++ program on the code coach "what's my discount".someone who can explain for me ? 🙏 https://code.sololearn.com/cFKhH14ST3Y0/?ref=app

24th Nov 2022, 3:08 PM
Daniel
Daniel - avatar
6 Answers
+ 2
It was as it is given in the task. We are expected only to calculate the discounted prices given, I guess. No need of us to modify the price list, as the coach will review the output, and output may not match what they expected if we modified the price list.
24th Nov 2022, 3:26 PM
Ipang
+ 1
For which part an explanation was needed though?
24th Nov 2022, 3:15 PM
Ipang
+ 1
Ipang double items[] = {500, 12.4, 94, 45, 3, 81, 1000.9, 85, 90, 1, 35,1000}; why the number should be only this ??
24th Nov 2022, 3:18 PM
Daniel
Daniel - avatar
+ 1
Ipang thank you bro 😊
24th Nov 2022, 4:14 PM
Daniel
Daniel - avatar