Code:

#include <stdio.h>
int maxNumber(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j);
int minNumber(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j);
int totalSum(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j);
int main(Void)
{
int n0;
int n1;
int n2;
int n3;
int n4;
int n5;
int n6;
int n7;
int n8;
int n9;
printf("%s", "Enter 10 positive numbers (0 to 100):");
scanf_s("%d%d%d%d%d%d%d%d%d%d", &n0, &n1, &n2, &n3, &n4, &n5, &n6, &n7, &n8, &n9);
printf("Maximum is: %d\n", maxNumber(n0, n1, n2, n3, n4, n5, n6, n7, n8, n9));
printf("Minimum is %d\n:", minNumber(n0, n1, n2, n3, n4, n5, n6, n7, n8, n9));
printf("Total is %d\n:", totalSum(n0, n1, n2, n3, n4, n5, n6, n7, n8, n9));
system("Pause");
}
int maxNumber(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j)
{
int max = a;
if (b > max) {
max = b;
}
if (c > max) {
max = c;
}
if (d > max) {
max = d;
}
if (e > max) {
max = e;
}
if (f > max) {
max = f;
}
if (g > max) {
max = g;
}
if (h > max) {
max = h;
}
if (i > max) {
max = i;
}
if (j > max) {
max = j;
}
return max;
}
int minNumber(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j)
{
int min = a;
if (b < min) {
min = b;
}
if (c < min) {
min = c;
}
if (d < min) {
min = d;
}
if (e < min) {
min = e;
}
if (f < min) {
min = f;
}
if (g < min) {
min = g;
}
if (h < min) {
min = h;
}
if (i < min) {
min = i;
}
if (j < min) {
min = j;
}
return min;
}
int totalSum(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j)
{
int sum = a + b + c + d + e + f + g + h + i + j;
return sum;
}