使用cout编程,向屏幕顺序输出大写英文字符'H'~'N'的字母
#include <iostream>
using namespace std;
int main()
{
char ch;
for(ch = 'H'; ch <= 'N'; ch++) {
cout << ch << endl;
}
}
#include <iostream>
using namespace std;
int main() {
char c;
for (c='H';c<='N';c++) cout<<c;
cout.flush();
return 0;
}
//HIJKLMN