Computational Thinking Support 2
unread,Nov 3, 2020, 1:56:47 AM11/3/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, saty...@gmail.com, KHUSHI SHARMA
Hi,
The above explanation is correct.
Conceptually the value of (B+C+D) - A will be 0. So none of the if condition will be true. Therefore the value of Z will be 0.
Even if you consider two decimal places in all division operations as mentioned in question you will get
A= 222.46
B = 72.36
C = 72.96
D = 77.13
(B+C+D) - A = -0.01
Here also none of the if condition will be true. Therefore the value of Z will be 0.
Regards,
Deepak
IITM Online Degree Team