Write a C program that finds pairs in an array whose sum is 15.

preview_player
Показать описание
Write a C program that finds pairs in an array whose sum is 15.

Test Data :

Input the size of array : 12

Input 8 elements in the array :

2 4 6 7 8 9 10 11 12 13 14 16

Expected output :

(2, 13)

(4, 11)

(6, 9)

(7, 8)
Рекомендации по теме
join shbcf.ru