why can't we use the sum function as it is used in product solution
why can't we use sum=num_1+num_2
but we used product=num_1*num_2
1 answers ( 0 marked as helpful)
Absolutely you can use the same way. it depends on your code and its efficiency and if you will reuse it again or not.
Submit an answer
I get a crash whenever I try to input a string instead of a number in Q1. How can I solve this?