A useful advantage of Asymmetric encryption over symmetric
encryption is that there is no secret channel necessary for the
exchange of the public key, unlike in the symmetric encryption which requires a
secret channel to send the secret key.
Another
advantage of Asymmetric encryption is that is has increased security. Asymmetric
uses two different keys (Public and private) for both encryption and decryption
of data while symmetric uses one.
Answer:
The code to the given question can be given as:
Code:
1)
2 arrays that used to store 10 employee identification number and grosspay amount in parallel and its data-type is int and double.
int Employee_id[10]; //array that store integer value
double Weekly_Gross_Pay[10]; //array that store double value
2)
Define loop for print the details of employees’ identification number and weekly gross pay.
for(int i=0; i<10; i++)
{
cout <<Employee_id[i] <<" " << Weekly_Gross_Pay[i] << endl;
}
Explanation:
The explanation of the above code can be given as:
In Code (1) we declare two array that's data-type is integer and double. In Employee_id array it store the integer values and Weekly_Gross_Pay it store the double value.
In Code(2) It is used to print the value of array. In that code, we used for a loop because of its entry control loop and we know the size of the array. In this loop, we declare a variable (i) and initialized the value 0 and check the condition(i)less than 1 and increment of i. It prints all the 10 values.
I would imagine car would still be the best means , it's tough to define without knowing where he lives and how much he travels