Figured it out.
Edited 7 Years Ago
by s_r_k: n/a
for (int i = 1; i < num_days; i++ )
temp=temperature[i]+temp; // assuming temperature array is int
Edited 5 Years Ago
by Dani: Formatting fixed
I figured it out. Thanks.
Next time, just leave your original post as is so that someone else can benefit from it if it applies to their problem. By "deleting" your original post, you've made this thread completely worthless to future readers.
I have 30 functions like this
void func1(int *var1, int *var2)
void func2(int *var1, int *var2)
void func3(int *var1, int *var2)
How can I make this to continue until the user presses N? I've tried using while(1), while( option == 'y' || option == 'Y') but it kept giving an error ...
In this program I have these 2 matrices . It will compare each element in each row of matrix to 3 . If that value <= 3 then ...