Answered You can hire a professional tutor to get the answer.
#include lt;stdio.
#include <stdio.h>
int main
{
int avg = 0;
int sum = 0;
int x = 0;
/*variable defintion*/
int num[7];
// for loop to input time and find avg
for (x=0; x<7;x++)
{
printf("Day[%d]n", x+1);
scanf("%d", &num[x]);
}
for (x=0; x<7;x++)
{
sum = sum+num[x];
}
avg = sum/7;
printf("Average number of hours spent on phone: %d", avg);
return 0;
}