Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

#include <iostream>

#include <conio.h>
using namespace std;
int fun(int i, int j, int k) {
i = i * 10;
j = j * 11;
k = j - i;
return k;
}
int main() {
int i = 8;
int j = 9;
int k = 0;
cout << "Mean of 10 values =" << i << endl;
cout << endl;
cout << "After 11th number, the mean is =" << j << endl<< endl;
cout << "So, The eleventh number is =" << fun(i,j,k) << endl;
}

You might also like