C++ program to find greatest number between 2

C++ program to find maximum number between 2

Program:-

Method 1

C++ program to find greatest number between 2 using if - else statement.



Method 2

C++ program to find greatest number between 2 using condition statement.


Output:-

Enter 1st number
5
Enter 2nd number
8
The greatest number is 8

Output:-

Enter 1st number
89
Enter 2nd number
8
The greatest number is 89

2 Comments

  1. its very nic tutorial i loved it thanks admin am Dummies for c++ i am studying computer science i like it the page great job.

    ReplyDelete
  2. Fantastic!! you are doing good job! I impressed. Many bodies are follow to you and try to some new.. After read your comments I feel; Its very interesting and every guys sahre with you own works. Great!!

    vé máy bay đi cao hùng giá rẻ

    vé máy bay hà nội đi đài bắc

    ve may bay di my

    ve may bay tet

    ReplyDelete

Add your comments here

Back to Top