Code is wrong , where? Finding largest number

#include
using namespace std;

int main() {

int a;
int b;
int c;


cout << "Enter three numbers: ";
cin >> a;
cin >> b;
cin >> c;


int largest = a; 

if (b > largest) {
    largest = b; 
}
if (c > largest) {
    largest = c; 
}
cout << "The largest number is: " << largest << endl;

return 0;

}