C & C++ language
Home
HTML
C&C++ language
Movies
Games
Softwares
Thursday, 26 January 2012
WHICH IS MAXIMUM
#include<iostream.h>
main()
{
float A,B;
cout<<"enter the value of A :";
cin>>A;
cout<<"enter the value of B :";
cin>>B;
if(A>B)
{
cout<<"A is maximum";
}
else
{
cout<<"B is maximum";
}
return(0);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment