Hi, i noticed no one posted any comment in this video, I wonder if they got to this point. But yea obviously I did. Just a little constructive remark, I like this code but I wish you explained each line of what was happening in the code. And there is some flaw, the cus array is fixed by 3 elements only, and you used a do while loop which will throw an error (or data loss) whenever the user decides to keep going and adding more customers more than 3 since your do while loop allows it.
@officeAmbiance
I'm glad you noticed that. And I'm not explaining yet how to handle errors or exceptions so just ignore the runtime errors for now, shall we :) ?
LizardanNet 11 months ago
Hi, i noticed no one posted any comment in this video, I wonder if they got to this point. But yea obviously I did. Just a little constructive remark, I like this code but I wish you explained each line of what was happening in the code. And there is some flaw, the cus array is fixed by 3 elements only, and you used a do while loop which will throw an error (or data loss) whenever the user decides to keep going and adding more customers more than 3 since your do while loop allows it.
officeAmbiance 11 months ago