Home WHAT IS... AND HOW DO...? INITIALIZING ACCESING ELEMENTS FROM ONE- DIMENSIONAL ARRAYS ADING,INSERT AND DELETE PROBLEMS SOLVED Test
Problems solved







One-dimensional arrays - problems solved


1. A vector with n elements, natural numbers, is read. To display the sum of the elements in the vector.

2. A vector with n elements, natural numbers, is read. Display the maximum element, and how many times it appears in the vector.

3. Two vectors with n and m elements are read. To display the intersection of the two sets.

Video with explications

video

Bibliography

Source 1

Source 2