write a program in a visual basic to input 2 number and find the greater number ?
Answers
Answered by
2
void Max() {
int a, b;
cout < <"Enter two integers\ n ";
cin > > a>> b;
cout < < " Max is";
if (a> b)
cout < < a;
else
cout < < " b";
}
int a, b;
cout < <"Enter two integers\ n ";
cin > > a>> b;
cout < < " Max is";
if (a> b)
cout < < a;
else
cout < < " b";
}
Similar questions