|
|
back to boardif n = 0 or n = 1 ? Posted by Tanim 3 Apr 2018 05:47 what will the output if input = 1 or 0 and why? Re: if n = 0 or n = 1 ? Posted by Sajib 11 Mar 2020 20:11 if n=0 then q=10 if n=1 then q=1 Re: if n = 0 or n = 1 ? Posted by Roman 5 Apr 2020 17:22 You are right! Re: if n = 0 or n = 1 ? Should be 11 though, I don't know why authors decided on 1. The solution requires a product of digits. 1 by itself isn't a product at all. Edited by author 19.05.2020 18:51 |
|
|