include <iostream>

main ()
{
int a, b;
bool found;
cout << "Enter two integers: "
cin >> a >> b;

if a > a*b && 10 < b
found = 2 * a > b;
else
{
found = 2 * a < b;
if found
a = 3;
c = 15;
if b
{
b = 0;
a = 1;
}
}

Well for one, you didn't use code tags. When you post code, you should put it in code tags:
[ code=cplusplus]
// Your C++ Code Here
[ /code]

Secondly, your main function doesn't seem to return an int, or take command line parameters...
Third, you aren't using namespace std;, which is a problem, since you try to use cout and cin...
Fourth, your include is missing the #...
Hell, I guess the topic (and question) should be "what isn't wrong?"

Read the forum rules, read a C++ book, read previous threads, just read something!

Chris

commented: lol @ "just read something" +5

The basic structure should be more like

#include <iostream>
using namespace std;

int main ()
{
   // DO STUFF
  return 0;
}

Also i think your IF statement is wrong...

YOUNG MAN THE WAY YOU USES IF STATEMENT IS JUST ROUGH YOU NEED PARENTHESIS FOR IS STATEMENT {MENTIONING UR MISAKES IN CAPITAL FORMAT)
FOR EXAMPLE

include <iostream>
main ()
{
int a, b;
INT bool found;
cout << "Enter two integers:
"cin >> a >> b;
if (a > a*b && 10 < b) I INTRODUCED THESE PARENTHESIS
found = 2 * a > b;
else
{
found = 2 * a < b;
if found (NO CONDITION APPLIED)E.G. IF (FOUND==0)
a = 3;
c = 15;
if b (AGAIN NO CONDITION APPLIED)
{
b = 0;a = 1;
}
}

IM SORRY BUT U NEED LOT OF PRACTICE.
KEEP WORKING HARD.
BEST OF LUCK.

Muhammad so do you, firstly you havn't used code tags, secondly comments '//' * '/* */' are useful for commenting code.

When found is a bool, then if(found) is fine.

Chris

Even when 'found' is an int, that code would be just fine

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.