Answer:
In C++:
#include <bits/stdc++.h>
#include <iostream>
#include <vector>
using namespace std;
int main(){
vector<int> vectItems;
cout << "Vector length: ";
int ln; cin>>ln;
int num;
for (int ikk = 0; ikk < ln; ikk++){
cin >> num;
vectItems.push_back(num);}
int small, secsmall;
small = secsmall = INT_MAX;
for (int ikk = 0; ikk < ln; ikk++){
if(vectItems[ikk] < small){
secsmall = small;
small = vectItems[ikk]; }
else if (vectItems[ikk] < secsmall && vectItems[ikk] != small) {
secsmall = vectItems[ikk];} }
cout<<small<<" "<<secsmall;
return 0;}
Explanation:
See attachment for program file where comments are used for explanation
Formatting<span> writes the file system structure to the disk.</span>
Control instructions stand used to change the sequence of instruction execution.
<h3>What is Control instructions?</h3>
Program Control Instructions exist the machine code that exists utilized by the machine or in assembly language by the user to command the processor to act accordingly. The control statements utilized in the C language allow a user to specify a program control's flow. In simpler phrases, the control statements help users specify the order of execution of the instructions present in a program.
Flow control instructions stand used to divert the flow of the program. These instructions are used to execute loops and subroutine calls. The basic instruction is the Branch. Conditional affixes can be counted to the Branch instructions to enable choices. Instruction execution stands for the process by which a computer retrieves a program instruction from its memory, decides what actions the instruction dictates, and brings out those actions.
Hence, Control instructions stand used to change the sequence of instruction execution.
To learn more about Control instructions refer to:
brainly.com/question/26386412
#SPJ4
Robot is an example of Fifth Generation Computer.
I hope it's help you...
Thanks♥♥