提交时间:2025-12-26 15:45:14

运行 ID: 78418

#include <iostream> using namespace std; int main() { for (char c = 'a'; c <= 'z'; c += 2) { cout << c << " "; } cout << endl; for (char c = 'z'; c >= 'a'; c -= 2) { cout << c << " "; } cout << endl; return 0; }