CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*Numbers And Symbols
Challenge (from Daniel Fernàndez Hildago)
*/
#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<char> star;
vector<char> plus;
int n(0),c(0);
cout<<"Input the length : ";cin>>n;
cout<<endl;
do
{
plus.push_back('+');
star.push_back('*');
c++;
}while(c<n);
c=1;
while(c<=n)
{
if(c%2==0)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run