You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
259 B

#include <bits/stdc++.h>
using namespace std;
int main() {
ofstream fout;
fout.open("1.txt");
for (int i = 1; i <= 10; i++) {
if (i % 5 == 0) {
int x = 6;
fout << x;
} else {
char ch = 'A';
fout << ch;
}
}
return 0;
}