Help to write the code that checks for the fact that the number is a natural degree of the three. For example, the number 27 is the third degree: 3 ^ 3, and 81 is the fourth: 3 ^ 4.
Closed due to the fact that the essence of the question is unclear by the participants Igor , Kromster , Air , 0xdb , freim 24 Apr at 11:37 .
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
- 2Add what you did to solve your problem, except to ask for help. Minus is mine. - Mr Morgan
|