Computer Science, asked by uttammaharaja1otnmr4, 1 year ago

create c++ Program to find the maximum between two numbers

Answers

Answered by uttamtooldie27p3k9w2
0
#include<iostream.h>

main()

{

int a, b, max;

cout<<"\n\t Enter the value of a : ";

cin>>a;

cout<<"\n\t Enter the value of b : ";

cin>>b;

max = (a>b)? a : b;

cout<<"\n\t Maximum number is "<<max;

return 0;

}
Similar questions