📄 firsth.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 + -