Program to enter three integer and find the biggest no

 Program to enter three integer and find the biggest no
   #include <iostream>
#include <algorithm>
using namespace std;
int main(){
       int a[3];
       for (int i = 0; i < 3; i++){
              cout << "Enter Number" << endl;
              int b;
              cin >> b;
              a[i] = b;
       }
       cout << "Bigest No. is " << *max_element(a, a + 3) << endl;


       system("pause");
       return 0;

}

Comments

  1. KADGATUR: Go online casino with casino - Dadangpintar
    KADGATUR is a brand-new online kadangpintar casino in Odisha. It is located in Odisha. With over 500 games you can bet 제왕 카지노 on and live casino games. 카지노사이트

    ReplyDelete

Post a Comment