Write a program to print the largest of 3 number using conditional operator
#include<iostream>
using namespace std;
int main()
{
int a, b, c;
cout << "Enter 3 no\n";
cin>>a>>b>>c;
int big = ( a>b && a>c )?a:(b>c?b:c);
cout<<"\nAmong "<<a<<" , "<<b<<" , "<<c<<" Biggest is "<<big<<endl;
return 0;
}