0

am just a beginner and an getting the compiling error like:(warning: no newline at end of file) anyone who could help me out?

```
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int a;
int b;
int c;
double p;
double x1;
double x2;
cout<<"bitte lesen sie vier nummern ein:";
cin>>a>>b>>c;
p=(b*b)-(4*a*c);
if(p>0){
x1=((-b) + sqrt(p))/2*a;
x2=((-b) - sqrt(p))/2*a;
if(x1==x2)
cout<<"value of x = "<<x2;
else
cout<<"x1 = "<<x1;cout<<"x2 = "<<x2;
}
else{
p=(-1)*p;
x1=((-b) + sqrt(p))/2*a;
x2=((-b) + sqrt(p))/2*a;
if(x1==x2)
cout<<"value of x = "<<x2;
else
cout<<"x1 = "<<x1;cout<<"x2 = "<<x2;
}
return 0;
}
```