Project translated automatically.
Log in
or
register,
to view the original
Develop a function with a variable number of parameters which (possibly, except the first) are symbolic lines with 16 codes of long whole numbers.The function must print the table of these codes and their decimal values (or sign an error if the code is false).The program is intended to use a supportive feature that verifies whether the specified symbol order is the correct record of the 16th code of a long unsignificant number, and returns the decimal value of that number or -1 in case of error.Develop the first option of the function indicated in the task.In this option, the number of actual parameters is set by the first parameter, and all the following parameters must have the same or repeated type.If the function works with symbolic rows, it is necessary to consider that the rows are stored in the list of parameters (references to their first symbols), and the rows themselves are recorded in the memory separately.Check the correctness of the developed function, causing it several times with a different number and composition of actual parameters.In the challenges, the actual parameters should be not only constant, but also variable and expressions.It is necessary to check what the result will be if the type of any of the actual parameters belonging to the uninterrupted will not match the type set in the body of the function.In the second option, the function should specify the types of uninterrupted parameters in a certain way, in particular, you can specify the type before each parameter or use a list of types as one of the parameters and others.If necessary, you can somewhat remind the condition of the task so that parameters of different types are transmitted to the function (for example, before the word to indicate the number of words that are processed, before each structure to indicate its number, to indicate the type of each of the numbers of the data, to indicate the separate symbol to be processed in this line, etc.).To realize this option of function with a variable number of parameters by applying library macrosets from the title file.Add detailed comments, desired to be completed by the end of the day.