#include <iostream> int main() { int i,n,m; cout <<"Enter the total number\n"; cin >>n; cout <<"The total number of array is \n"<<n; for(i=1;i<=n;i++) cin >>a[i]; cout <<"the array is \n"; for(i=1;i<=n;i++) cout <<"\n"<<a[i];
m = a[1]; for(i=2;i<=n;i++) { if(m>a[i]) s = a[i]; } cout <<"smallest among 'n' number is \n"<< m; return 0; }