Answer:
The array index by using split function.
45 20 50 30 80 10 60 70 40 90
45 20 40 30 80 10 60 70 50 90
45 20 40 30 10 80 60 70 50 90
10 20 40 30 45 80 60 70 50 90
Explanation:
In the following statement, there is an integer array type variable x and its index value is 10 that means it contains only 10 numeric values and then, they set split function which split the array and the split function is the built-in function which is used to separate the string or an array. So, the array is split into the following parts.
Solution :
a). The two arrays that are used in parallel in order to store the identification of two numbers of 5 employees and their weekly gross payments is :
int id_array[5];
double gross_pay[5];
b). The loop that uses the arrays for printing the identification number and the weekly gross payment is given below :
for(int i=0; i<5; i++)
{
count <<id_array[i] <<" " << gross_pay[i] << end;
}
Answer:
Following are the statement of the program in the C++ Programming Language.
//prototype of the function
double powerTo (double, int);
Explanation:
In the following statement which is written in the C++ Programming Language.
- The function prototype tells us what type of data type return by that function.
- We declare the prototype of the function "powerTo()" which returns the double and pass two arguments first one is double data type and the second one is integer data type.
Answer: d) Peer-to-Peer
Explanation:
Peer-to-peer(P2P) is the the system in which computer system are linked with reach other through internet connectivity. There is no requirement of central server for file sharing and transmission. Thus, it can act as client and file server in a network for file and data transmission.
- Other options are incorrect because classic view,X-Window and SSH(Secure Shell) are not the relationships that have the potential to behave as client and server for cooperation of programs.
- Thus, the correct option is option(d).
Answer: Avoid using non-Bluetooth-paired or unencrypted wireless computer peripherals.
Explanation: