in this question im getting correct output but this case i cant pass all test case…
Sir i cant score full 100
hi @uditmudgal07_2f40cca755bd8bd2,
#include<iostream>
#include<climits>
using namespace std;
int main(){
int i=1;
int largest = INT_MIN;
int no;
while(i<=5){
cin>>no;{
if(largest<no)
largest=no;
}
i=i+1;
}
cout<<largest;
cout<<endl;
return 0;
}
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.