firstly hi,
i am new in this site
i have a problem to develop a algorithm about that
problem is that we should write a problem that can calculate the counts of ways 1 to 9 but we can't use diagonal way for instance we can't go 5 from 1. we can go 2 or 5 from 1
if you help me to develop a algorthm with c++ i would be happy
thanks
i am new in this site
i have a problem to develop a algorithm about that

problem is that we should write a problem that can calculate the counts of ways 1 to 9 but we can't use diagonal way for instance we can't go 5 from 1. we can go 2 or 5 from 1
if you help me to develop a algorthm with c++ i would be happy
thanks
Comment