jiangtaooo @ 2020-03-07 20:20:06
#include<iostream>
using namespace std;
int main()
{
int n,i = 0;
char a[50],s;
cin >> n;
cin >> s;
while (s != '\n')
{
a[i] = s;
cout << char(a[i++] + n);
cin >> s;
}
}
by jiangtaooo @ 2020-03-07 20:45:57
@Dimly_dust 谢谢。
by jiangtaooo @ 2020-03-07 20:46:16
@liqingyang 谢谢你。
by liqingyang @ 2020-03-07 20:48:18
@我什么不会呀_ 不客气
by Dimly_dust @ 2020-03-07 20:59:48
@我什么不会呀_ 不客气