Difference between revisions of "User:Mcqueen"
| Line 25: | Line 25: | ||
draw((39,5)--(42,0)); | draw((39,5)--(42,0)); | ||
draw((42,5)--(42,0));</asy> | draw((42,5)--(42,0));</asy> | ||
| + | |||
| + | Hello! I'm <math>\mathbb{M}\text{cqueen}</math>, otherwise known as <math>\mathfrak{CastleCrasher6}</math>. As you see up top, I took the time to use Asymptote to draw my name: mcqueen. If by some chance you haven't looked at it, take a look below, which should help you. | ||
| + | |||
| + | <tt>#include <iostream> | ||
| + | |||
| + | using namespace std; | ||
| + | |||
| + | int main() | ||
| + | { | ||
| + | repeat: | ||
| + | string HaveYouSeenThePicOrNot[2] {"Yes I have seen the pic.", "No I haven't seen the pic."}; | ||
| + | int x; | ||
| + | cout<<"Have you seen the pic yet? If Yes, type 1. If No, type 2. If I don't know, type anything you'd like." <<endl; | ||
| + | cin>> x; | ||
| + | if (x==1) | ||
| + | { | ||
| + | cout<<"Good, now we are ending this program." <<endl; | ||
| + | goto end; | ||
| + | } | ||
| + | if (x==2) | ||
| + | { | ||
| + | cout<<"Well get up, scroll up, and look at the pic!" <<endl; | ||
| + | goto repeat; | ||
| + | } | ||
| + | else | ||
| + | { | ||
| + | cout<<"ERROR 404: Page not found. Error...Error...Error...BOOM! ---BEEP---" <<endl; | ||
| + | goto end; | ||
| + | } | ||
| + | end: | ||
| + | system("PAUSE"); | ||
| + | } | ||
| + | </tt> | ||
Revision as of 18:40, 1 September 2011
Hello! I'm
, otherwise known as
. As you see up top, I took the time to use Asymptote to draw my name: mcqueen. If by some chance you haven't looked at it, take a look below, which should help you.
#include <iostream>
using namespace std;
int main() {
repeat:
string HaveYouSeenThePicOrNot[2] {"Yes I have seen the pic.", "No I haven't seen the pic."};
int x;
cout<<"Have you seen the pic yet? If Yes, type 1. If No, type 2. If I don't know, type anything you'd like." <<endl;
cin>> x;
if (x==1)
{
cout<<"Good, now we are ending this program." <<endl;
goto end;
}
if (x==2)
{
cout<<"Well get up, scroll up, and look at the pic!" <<endl;
goto repeat;
}
else
{
cout<<"ERROR 404: Page not found. Error...Error...Error...BOOM! ---BEEP---" <<endl;
goto end;
}
end:
system("PAUSE");
}