The problem is said that chefe is 10 years old then chefina the user take X whise is the chef's age, so chefina's age is (X-10) and this is the answer. this is very simple problem and t is taken by bthe user to know how many time the code will run, and here i nuse while loop and decrement (- -) operator.if t's valu is 4 then the code will run 4 times.
Download
0 formats
No download links available.
Ageing Problems with Solution form CodeChef || Ageing Problem Solution || | NatokHD