Problem Solving
Problem Solving
h>
int main() {
scanf("%d", &n);
scanf("%d", &p[i]);
scanf("%d", &at[i]);
scanf("%d", &bt[i]);
p[j + 1] = p[j];
p[j] = temp;
temp = at[j + 1];
at[j + 1] = at[j];
at[j] = temp;
bt[j + 1] = bt[j];
bt[j] = temp;
// Calculating 1st ct
// Calculating 2 to n ct
temp = 0;
printf("\n\np\tA.T\tB.T\tC.T\tTAT\tWT");
atat += tat[i];
awt += wt[i];
atat = atat / n;
awt = awt / n;
return 0;