hey, I need some help here
How would i transform this from C:
Code:
for(i=1;i<n;i++)
{
wt[i]=wt[i-1]+et[i-1];
tot=tot+wt[i];
}
to bash in Nano editor ?