plx somebody help me with this code

Jun 12, 2013 at 5:55pm
:P
Last edited on Jun 13, 2013 at 11:58am
Jun 12, 2013 at 7:22pm
Go easy on the paste button!

I see no code.
Jun 12, 2013 at 10:07pm
i didn't try solving this, but if i solve it, i'd have a hard time giving the source code, such algorithm can be precious.

edit:
why don't you try to brainstorm it yourself, people won't help you on this one,
after all, you can claim property of the solution.
Last edited on Jun 12, 2013 at 10:10pm
Jun 13, 2013 at 1:25pm
Hamshid, what they're saying is, a mistake has occurred, try sending your code again! Donnie
Jun 13, 2013 at 3:18pm
I can not understand your mean.
Jun 13, 2013 at 3:34pm
This should fix your code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>

using namespace std;

int main()
{
int number;

cout << "Enter number please: ";
cin >> number;

if(number == 42){
cout << "You have just";
}
else{
cout << "You have performed an illegal operation";
}
return(9001);
}


Hope this helps.
Topic archived. No new replies allowed.