Answer:
C++ code:
#include<iostream>
using namespace std;
void sort(int al[30], int l)
{
//we use insertion sort to sort the array.
int p,q,k;
for(q=1;q<l;q++) //starting from the 2nd item of the array.
{
k= al[q]; //taking qth item as key value.
p=q-1;
while(p>=0 && al[p]>k)
{
al[p+1]=al[p]; //all items those are greaer than al[q] are shifted //to right.
p=p-1;
}
al[p+1]=k;
}
}
int main()
{
int p,l, arrl[30];
cout<<"Enter the number of items in your array: ";
cin>>l;
cout<<endl;
cout<<"Enter your "<<l<<" items"<<endl;
for(p=0;p<l;p++)
{
cin>>arrl[p];
}
sort(arrl, l); //call function sort() to sort the array.
cout<<"The array after sorting: ";
for(p=0;p<l;p++)
{
cout<<arrl[p]<<" ";
}
cout<<endl;
cout<<"The smallest item is: ";
cout<<arrl[0]<<endl;
cout<<"The middle item is: ";
cout<<arrl[l/2]<<endl;
cout<<"The biggest item is: ";
cout<<arrl[l-1]<<endl;
}
Output is given as image.
Answer:
- numberRed = numberBlue = FALSE
- numberBlue > numberGreen = FALSE
- numberGreen < numberRed = FALSE
- numberBlue = wordBlue = ILLEGAL
- numberGreen = "Green" = FALSE
- wordRed = "Red" = FALSE
- wordBlue = "Blue" = FALSE
- numberRed <= numberGreen = TRUE
- numberBlue >= 200 = TRUE
- numberGreen >= numberRed + numberBlue = TRUE
- numberRed > numberBlue AND numberBlue < numberGreen = FALSE
- numberRed = 100 OR numberRed > numberBlue = TRUE
- numberGreen < 10 OR numberBlue > 10 = FALSE
- numberBlue = 30 AND numberGreen = 300 OR numberRed = 200 = FALSE
Explanation:
THESE RESULTS ARE VERIFIRED.....
Answer: Intranet
Explanation:
The options include:
A. extranet.
B) social network.
C) intranet.
D) e-market.
A corporate or government network that uses Internet tools, such as Web browsers, and Internet protocols is referred to as intranet.
Social networks are social media sites that are used by people which allows them to stay connected with one another.
E-market is a form of marketing whereby goods and services are promoted or advertised through the use of the internet.
Therefore, the answer to he above question is intranet.
The default RDP port is 3389 but can be configured in the range of <span>49152-65538</span>