Why my code is wrong

#include
using namespace std;
int main()
{
float a,b,c;
cin>>a>>b>>c;
if(a>b&&a>c){
cout<<“The largest number is”<<a;
}
else if(b>a&&b>c){
cout<<“The largest number is”<<b;
} else
cout<<“The Largest number is “<<c<<” “<<”\n”;
return 0;
} what is wrong in this code

hi @lakshyaprasadpe20b1629_7d623815a5ca5f1a your this code is running fine

#include<bits/stdc++.h>
using namespace std;
int main() {
    int a, b, c;
    cin>>a>>b>>c;
    int largest = max(a, max(b,c));
    cout<<largest<<endl;
    return 0;
}

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.