Untitled
unknown
plain_text
a year ago
309 B
2
Indexable
Never
// домашка #include <iostream> using namespace std; int main() { int a = 1; while (a > 0) { if (a % 5 == 0) { a++; cout << "@"; } if (a % 2 == 0 && a % 5 != 0) { cout << "*"; a++; } if (a % 2 != 0 && a % 5 != 0) { cout << "-"; a++; } } return 0; }