C++ sum of all integer divisible by a number with friend function

Write a C++ program to find the number and sum of all integer between 100 and 200 which are divisible by 9 with friend function.

Output
C++ program sum of all integer divisible by a number