I want to implement the formula of arithmetics in my C++ program

前端 未结 0 1798
挽巷
挽巷 2020-11-28 14:27

I\'m very new to C++. This is a tower of Hanoi program. I want to set so that N would start from 50,+ 25. Using this arithmetic formula: n*(50 + (n-1) *25). So, for example,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题