Dev-C++ problem!! Please HELP!!!

Hello everyone, I made this small program for fun, and I try to compile it via Dev-C++ but it is not working. It says compiling, but does not compile! Please help?!

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>
using namespace std;
int main(int argc, char *argv[]) {
	float n1;
	float n2;
	float n3;
	cout<<"Please enter the three (3) numbers:/n";
	cout<<"Enter the First number";
	cin>>n1;
	cout<<"Enter the Second number";
	cin>>n2;
	cout<<"Enter the Third number";
	cin>>n3;
	if (n1>n2&&n1>n3)
	{
	cout<<"The largest number is - "<<n1;
	}
	else
	{
	if (n2>n1&&n2>n3)
	{
	cout<<"The largest number is - "<<n2;
	}
	else
	{
	if (n3>n1&&n3>n2)
	{
	cout<<"The largest number is - "<<n3;
	}
	else
	{
	cout<<"They are equal";
	}
	}
	}
	return 0;
}
This code compiled OK for me here http://ideone.com/bqxNj2

Do you get an error message?
Ran fine for me also.

What do you mean "does not compile"? Please be more specific.

Topic archived. No new replies allowed.