0
点赞
收藏
分享

微信扫一扫

学习知识点

落花时节又逢君to 2022-03-27 阅读 149
学习c++

1.字母转对应数字:

#include<bits/stdc++.h>

using namespace std;

int main()

{

char c='m';

printf("%d",m);

}

数字转字母

#include<bits/stdc++.h>

using namespace std;

int main()

{

int g=97;

printf("%c",g);

}

2.找最大公因数

int zhui(int n,int m)

{

return m? zhui(m,n%m):m;

}

举报

相关推荐

0 条评论