请用c语音写出来,有偿vx加

img
a) Write a C code to evaluate the following mathematical expression, the code must ask user to input t value which is your candidate number. Run your C code and display the results in your report.b) Draw a flowchart for the C code in a.Problem 2 [35 Marks] Write a C code to find the average and product of three numbers which must be entered by user. Two C functions must be created and used to find the average and product. Run your code and display the results in your report.Problem 3 [30 Marks] Write a C code to create a menu driven system that will load a data.txt file, then offer user a choice of the following 2 options: Option 3a) Find the maximum number in the data.txt. Option 3b) Calculate the average of all positive numbers in the data.txt. Run your code for all options and display the results in your report. data.txt 10 9 8 8 -7 -6 20 40 -10 18 -5 0 22 8 20 28Note: Must include C code, and results in your report. Please refer to your own Assessment Deadlines & Exam Timetable in Sussex Direct for all submission details

能搞个机翻吗,或者题目文字贴出来

第二个代码

#include<stdio.h>

float pj(int a,int b, int c)
{
    return (a+b+c)/3.0;
}
int cj(int a,int b, int c)
{
    return a*b*c;
}
int main()
{
    int a,b,c;
    printf("请输入三个数字:");
    scanf("%d%d%d",&a,&b,&c);
    printf("平均值%.2f\n",pj(a,b,c));
    printf("乘积%d\n",cj(a,b,c));

    return 0;
}

img

是算x(t)吗?