Untitled
unknown
c_cpp
2 years ago
205 B
9
Indexable
#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;
}Editor is loading...