CORRECTION IN GRADES ASSIGNMENT WEEK 2

48 views
Skip to first unread message

Kunal -

unread,
Oct 27, 2020, 5:43:42 AM10/27/20
to Discussion forum for Computational Thinking
BILL ERRCT.png
HERE max is initialized to 1 BUT however PROFESSORS HAVE told us not to take and VALUE in initialization that could a possible value in the data set that we are computing

THOUGH our data set DOES NOT have any BILLS with Rs1 BUT  Rs1 is a POSSIBLE VALUE so taking MAX=1 is NOT GOOD , because LETS ASSUME THAT rs1 IS the HAVE Value spent in a shop the the code will show MAX=0 WHICH is INCORRECT

Computational Thinking Support 2

unread,
Oct 27, 2020, 6:16:06 AM10/27/20
to Discussion forum for Computational Thinking, Kunal -
Hi Kunal,
Please go through the pdf as well as video solution uploaded on the portal.
For more clarification about initialization of variables check the tutorial video week 2 Tutorial 2.7.

If you have still doubt write us again.

Thanks and Regards,
Deepak
IITM Online Degree Team
Reply all
Reply to author
Forward
0 new messages