using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 二转十
{
class Program
{
/// <summary>
/// 求次方
/// </summary>
/// <param name="number">那个数的次方</param>
/// <param name="cifang">几次方</param>
/// <returns>number^cifang</returns>
static int CiFang(int number,int cifang)
{
int returnValue = 0; // 返回值
if (number ==
C#实现二进制转10进制
最新推荐文章于 2024-07-23 21:37:15 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)