Use the knowledge of computational language in C++ to write the a code assembly program to find the largest item.
<h3>How to write a maximum function in C++?</h3>
To make it simpler the code is described as:
<em>#include<bitd/stdc++.h></em>
<em>Using namespace std;</em>
<em>Int main(){</em>
<em>Int arr[10]={10, 2, 23, 45, 21, 11};</em>
<em>Int min=INT_MAX;</em>
<em>Int max=INT_MIN;</em>
<em>for(int i=0;i<10;i++)</em>
<em>If(min<arr[i])min=arr[i];</em>
<em>for(int j=0;j<10;j++)</em>
<em>if(max>arr[j])max=arr[j];</em>
<em>Cout<<max<<” “<<min<<endl;</em>
<em>return 0;</em>
See more about C++ code at brainly.com/question/19705654