it's working if i enter the value for (a,b,e,g,h) but why it's not working if i change the value to (c,e,g,i) why do i have zero, is it because the while loop?
#include <stdio.h>
main()
{
...
Type: Posts; User: juiceceri
it's working if i enter the value for (a,b,e,g,h) but why it's not working if i change the value to (c,e,g,i) why do i have zero, is it because the while loop?
#include <stdio.h>
main()
{
...
thanks for the advise, but i did try everything that i know but it seams i don't know enough, the program is a pyramid that the top number is the sum of the 2 numbers below it. but some of the number...
i tried everything, i guest is not enough :-) if some one willing to help i appreciated
this is the one of so many trial i have done. but still doesn't work
#include <stdio.h>
main()
{
...
guy i have this code. the idea now is how to make the known in random and i could use the while loop and if statement. any suggestion?
#include <stdio.h>
main()
{
int a=0, b=0, c=0, d=0,...
thanks i found it
any one know how to use atan2 function?
thanks MK27.
i want to put a formula
tanϕ=y/x and x=r cosϕ and y=r sinϕ
atan2() than what do i put inside?
i'm using MSVC++ 6.0
Hallo, i have a question how do we use atan2 function ?
Thanks Adak but i will stick to my own code i figure out for the min max and, got the mean square deviation but i dont know is he result it print is correct,cuz every time i calculate with calculator...
no worries i got it now thanks Adak, now to find this mean square deviation.
this is what i did but still it just print the first as min and the last as max,and after this i still have to find the mean square deviation (i dont even know what that mean) but thanks man...
and i cant use array!!
can some one help me i have this code but i need to find the max and min number i dont know how.
/* LAB 2
* Cery */
#include <stdio.h>
int main(void)
can some one help me in learning C? my lecturer in my class is not good at explaining this but he expect us to do the C programing lab that we dont understand yet, so if some one have a yahoo account...