-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsource.cpp
37 lines (27 loc) · 1.36 KB
/
source.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
29
30
31
32
33
34
35
36
37
#include <iostream>
#include<string>
using namespace std; // spoiler tag programe
string sentence;
int i=3;
int main () {
cout << ",------. ,--. ,--. ,--------. ,---. ,--. ,--. " << endl;
cout << "| .-. ` `--' ,---. ,---. ,---. ,--.--. ,-| | '--. .--',--,--. ,---. / O ` ,-| | ,-| | ,---. ,--.--." << endl;
cout << "| | ` :,--.( .-' | .--'| .-. || .--'' .-. | | | ' ,-. || .-. | | .-. |' .-. |' .-. || .-. :| .--'" << endl;
cout << "| '--' /| |.-' `)` `--.' '-' '| | ` `-' | | | ` '-' |' '-' ' | | | |` `-' |` `-' |` --.| | " << endl;
cout << "`-------' `--'`----' `---' `---' `--' `---' `--' `--`--'.`- / `--' `--' `---' `---' `----'`--' " << endl;
cout << " `---' " << endl;
cout << "please enter the sentence u wish to add spoiler tags to :" << endl;
getline(cin, sentence);
sentence.insert(0,"||");
int size = sentence.size();
for(;i<size;){
sentence.insert(i, "||||");
size = sentence.size();
i += 5;
}
sentence += "||" ;
cout << "results :" << endl;
cout << sentence << endl;
system("pause");
return 0;
}