correct program

can someone please correct this for me:
#include<iostream>
using namespace std;
int main()
{
int a,b,c;
bool found;
cout<<"enter two integers:";
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;
}
return 0;
}


thanks
HEY,TELL ME WHAT DO U WANT THE PROGRAMM TO DO.
I madified your code, you can run the code
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
#include<iostream>
using namespace std;
int main()
{
	int a,b,c;
	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;
	}
	cout<<"\nc = "<<c<<endl;            
	system("pause");
	return 0;
}
Topic archived. No new replies allowed.