How to count the number of co-prime pairs in a given array? Question:- Write a function that takes array size and array as the input and returns the number of co-prime pairs as output. input array- 7, 4, 3, 6, 9 co-prime pairs- (7,4) (7,3) (7,6) (7,9) (4,3) (4,9) output- 6 You Might Also Like How to access a specific cell item in a UICollectionView and Segue to a new View Controller How to understand complicated function declarations? How to generate Data from String Java: Remove duplicates from json array How to append a <div> tag into a <tr> tag with exactly position of <tr> tag C# Generics function Is there a command like “watch” or “inotifywait” on the Mac? ASP.NET MVC Routing Via Method Attributes [closed] Unable to cast object of type ‘System.Object’ to ‘MyObject’, what gives?