0 penilaian0% menganggap dokumen ini bermanfaat (0 suara)
38 tayangan1 halaman
This C++ program defines two arrays called first and second that can each hold 20 integers. It prompts the user to enter the number of elements for the arrays, and then separately inputs values for each array. The program then outputs the sum of each corresponding element from the two arrays.
This C++ program defines two arrays called first and second that can each hold 20 integers. It prompts the user to enter the number of elements for the arrays, and then separately inputs values for each array. The program then outputs the sum of each corresponding element from the two arrays.
This C++ program defines two arrays called first and second that can each hold 20 integers. It prompts the user to enter the number of elements for the arrays, and then separately inputs values for each array. The program then outputs the sum of each corresponding element from the two arrays.