SyntaxFix
Write A Post
Hire A Developer
Questions
#include <iostream> int main() { int v[100] = {5,14,2,4,6}; int n = 5; int mic = v[0]; for(int i = 0; i != n; ++i) { if(v[i] < mic) mic = v[i]; } std:cout << mic << std::endl;; }