#include <iostream>
using namespace std; 
int main() {
    int a, b, c; 
    cout<<"Enter the three numbers";
    cin>>a>>b>>c;
    if (a>b&&a>c)
    cout <<"\n"<<a<<" is largest number";
else if (b>c)
    cout <<"\n"<<b<<" is largest number ";
    else 
    cout <<"\n"<<c<<" is largest number ";
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: