Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The five functions are: input, division, mean, power, print. Write the input fun

ID: 3618870 • Letter: T

Question

The five functions are: input, division, mean, power, print.

Write the input function to allow the user to input twointegers.

Write the division function to provide both the quotient and theremainder, determined by dividing the first number by the secondnumber.

Write a stub for the mean function; your mean function shouldaccept two integer parameters, and return the integer 1; do notcompute the mean.

Write a stub for the power function; your power function shouldaccept two integer parameters, and return the integer 1; do notcompute the power.

Write the print function to print the input values, the quotient,the remainder, the mean, and the power. Provide descriptive textidentifying the six items in the printed output.

Explanation / Answer

please rate - thanks #include #include void input(int*,int*); void division(int,int,int*,int*); int mean(int,int); int power(int,int); void print(int,int,int,int,int,int); int main() {int num1,num2; int quot,rem,meen,pow; input(&num1,&num2); division(num1,num2,",&rem); meen=mean(num1,num2); pow=power(num1,num2); print(num1,num2,quot,rem,meen,pow); getch(); return 0; } void input(int* n1,int* n2) {printf("Enter the first number: "); scanf("%d",n1); printf("Enter the second number: "); scanf("%d",n2); } void division(int n1,int n2,int* q,int* r) {*q=n1/n2; *r=n1%n2; } int mean(int n1,int n2) {return 1; } int power(int n1,int n2) {return 1; } void print(int n1,int n2,int q,int r,int a,int p) {printf("For the input numbers %d and %d ",n1,n2); printf("Quotient: %d ",q); printf("Remainder: %d ",r); printf("Mean: %d ",a); printf("Power: %d ",p); }