Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
205 B
0
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
	for (int i = 0; i < 25; i++)
	if (i % 5 == 0) 
		cout << '@';
	else 
		if (i % 2 == 0) 
		cout << '*';
	else 
		cout << '-';
	return 0;
}