Our Recommendation for You Search your Query, You can find easily. for example search by book name or course name or any other which is related to your education

Followers

how to find maximum number using c++



This is the source code for finding the maximum number is given below
#include<iostream.h>
#include<conio.h>
main()
{
      float a,b,c,max;
      cout<<"enter first value";
      cin>>a;
      cout<<"enter second value";
      cin>>b;
      cout<<"enter third value";
      cin>>c;
      max=a;
      if(max<b)
      max=b;
      if(max<c)
      max=c;
      cout<<"maximum value is:"<<max;
      getch();
      }

OUR SUGESSTION YOU SHOULD VISIT