Answer:
The program to this question can be given as:
Program:
#include<iostream> //header file
using namespace std;
int main() //main method
{
int x[10],i,largest = 0,second_largest=0,n; //variable
cout << "Enter Number of elements :"; //message
cin>>n;
cout << "Insert array elements :"; //message
for(i=0;i<n;i++) //insert elements in array
{
cin >>x[i];
}
//Finding Largest element
for(i=0;i<n;i++)
{
if (x[i]>largest)
{
largest = x[i];
}
}
//finding second largset element
for(i=0;i<n;i++)
{
if (x[i]>second_largest)
{
if(x[i]==largest)
{
continue; //Ignoring largest in order to get second largest
}
second_largest=x[i];
}
}
//print value
cout <<"Largest Number:"<<largest<<endl;
cout <<"Second Largest Number:"<<second_largest;
return 0;
}
Output:
Enter Number of elements :5
Insert array elements :33
45
75
87
23
Largest Number:87
Second Largest Number:75
Explanation:
In the above program firstly we define the header file then we define the main method in the main method we define the array and other variables. We first input the number for the size of the array. Then we insert array elements after inserting array elements we search the largest number and the second largest number in the array. To search the largest number in the array we use the loop. To search the first largest number we define a condition that array is greater than the largest number and store the value into the largest variable. Then we check the second largest number in the array for this we use two conditions that are array is greater than the second largest number in this we use another condition that is array is equal to the largest number. If the inner condition is true then it will move forward and end of an inner condition. In the outer condition, the value will be stored on the second_largest variable all the conditions will be done inner the loop. At the last we print values.
The safety procedure that enables a trusted party to have a copy of the encryption key is called key escrow.
<h3>What is encryption?</h3>
The process to convert data into a coded message that conceals its real meaning is known as encryption.
As we know,
Key escrow is the security measure that makes it possible for a reliable third party to own a copy of the encryption key.
Electronic cash systems employ encrypting to secure traditional transaction information like account information and activity amounts.
Thus, the safety procedure that enables a trusted party to have a copy of the encryption key is called key escrow.
Learn more about encryption here:
brainly.com/question/17017885
#SPJ4
<span>Validation of electronic signatures was designed to encourage a paperless society.</span>
Answer:
d. Company WAP has SSID broadcast disable
Explanation:
The most likely reason the user cannot find the company WLAN from her own device is that company WAP has SSID broadcast disable.
Answer: Here are some reasons why you might send a professional business letter:
1. It will make the recipient trust and respect you more.
2. It shows that you are a good and respectable business person.
3. It shows that you put time and effort into your business dealings no matter how small.
4. It shows that you respect the recipient as sending a professional business letter is harder than simply sending a text.
Hope this helps! :)
Explanation: