_Music_Viking
unread,Oct 27, 2020, 3:53:10 AM10/27/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Discussion forum for Computational Thinking, vivek.k...@gmail.com, preetijy...@gmail.com, paravi...@gmail.com
Yes, I even asked this in one of the live sessions. I was advised to initialize max variable to the lowest possible value, i.e., to 0. If it is initialized to 1, if there is a case (as pointed out by Mr. Vivek) where there are no bills generated from sun general, then the result (when max=1) would be 1, which is obviously not possible.
I request the course support team members to look into this issue.
Thank you