⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 firsth.cpp

📁 N阶乘的 运算。可实现 50一下数字的 N阶乘运算 。
💻 CPP
字号:
#include"firstH.h"
void show()
{
	cout<<"This is a project about n!"<<endl;
	cout<<"please input an integer:"<<endl;
}
void FuncA(int a,int n)
{
	int i;
	if(n<0)
		cout<<"error!"<<endl;
	else
	{
		for(i=1;i<=n;i++)
			a=a*i;
		cout<<"n!="<<a<<endl;
	}
 }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -