Answer:
// Program is written in C++
// Comments are used for explanatory purpose
// Program starts here
#include<iostream>
using namespace std;
int main()
{
// Declare variables
int digits [10]; int num;
int sum = 0; int average;
for(int I = 0; I<10; I++)
{
cout<<"Please enter an unsigned number: ";
input: cin>>num;
if(num>4,294,967,296 || num < 0)
{
cout<<"You did not enter an unsigned number or your number was too big.";
cout<<'\n'<<"Please try again: ";
goto input;
}
digits[I] = num;
// Calculate Sum
sum+=digits[I];
}
// Output numbers
cout<<"You entered the following numbers"<<'\n';
for(int j = 0;j<10;j++)
cout<<digits[j]<<" ";
// Calculating Average
average = sum/10;
// Output Sum
cout<<"The sum of these numbers is: "<<sum;
// Output Average
cout<<"The average is: "<<average;
return 0;
}
Explanation: