Untitled
unknown
plain_text
a year ago
356 B
0
Indexable
Never
#include <iostream> using namespace std; int main() { int b; cin >> b; for (int i = 1; i <=b; i++) { if (i % 2 == 0) { cout << "*"; } if (i % 5 == 0) { cout << "@"; } if (i % 2 != 0) { cout << "-"; } } }